Project Date
NLTEST 21 Sep 2020, 10:57

Failures Overview

The following summary displays scenarios that failed.

2:1.220
Scenario Outline check known link http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
Steps
* def nlinks = ["http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"] 0.000
* print nlinks 0.000
10:54:30.666 [print] [
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
]
* def title = "known url" 0.001
* configure readTimeout = 60000 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1:0.611
com.intuit.karate.exception.KarateException: check-known-links.feature:10 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-links.feature
items: [{link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"}
checkxlinkurl.template.feature:14 - 
java.net.SocketTimeoutException: Read timed out
10:55:31.279 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"}
checkxlinkurl.template.feature:14 - 
java.net.SocketTimeoutException: Read timed out
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.001
10:54:30.674 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:54:30.674 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 1:0.604
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.SocketTimeoutException: Read timed out
10:55:31.279 java.net.SocketTimeoutException: Read timed out, http call failed after 60392 milliseconds for URL: http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
10:55:31.279 http request failed: 
java.net.SocketTimeoutException: Read timed out
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
4.014
Scenario Outline Nationale Parken (INSPIRE Geharmoniseerd)
247a1d15-0a67-40ce-85be-1403c08f15a8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.013
And param id = '247a1d15-0a67-40ce-85be-1403c08f15a8' 0.005
And param elementsetname = 'full' 0.001
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.001
When method get 0.611
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.016
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '247a1d15-0a67-40ce-85be-1403c08f15a8' 0.052
* def title = get response //citation/CI_Citation/title/CharacterString 0.023
* print 'title:' + title 0.003
10:56:05.039 [print] title:Nationale Parken (INSPIRE Geharmoniseerd)
* print title 0.000
10:56:05.039 [print] Nationale Parken (INSPIRE Geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.004
* print email 0.000
10:56:05.044 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "info@minlnv.nl",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.007
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.004
* print 'organisation:', organisation 0.005
10:56:05.061 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.006
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.002
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.063
* print nlinks 0.000
10:56:05.139 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8",
  "xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "247a1d15-0a67-40ce-85be-1403c08f15a8" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.593
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8}, {link=xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:06.735 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8"
}
> * print "testing xlinkurl: 0.001
10:56:05.145 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.145 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8
> Given url link 0.000
> When method HEAD 0.225
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"
}
> * print "testing xlinkurl: 0.001
10:56:05.373 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.374 [print] testing xlinkurl:xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
10:56:05.376 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps, http call failed after 0 milliseconds for URL: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
10:56:05.376 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.001
10:56:05.378 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
10:56:05.380 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.381 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.353
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:06.735 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.831
Scenario Outline Geografische Namen
81ff84ec-42a4-4481-840b-12713bbb5d38 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '81ff84ec-42a4-4481-840b-12713bbb5d38' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.689
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '81ff84ec-42a4-4481-840b-12713bbb5d38' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.005
* print 'title:' + title 0.000
10:56:05.227 [print] title:Geografische Namen
* print title 0.000
10:56:05.228 [print] Geografische Namen
* def email = get response //electronicMailAddress/CharacterString 0.006
* print email 0.000
10:56:05.235 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.004
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:05.240 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.014
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.022
* print nlinks 0.000
10:56:05.279 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"
]
* def id = "81ff84ec-42a4-4481-840b-12713bbb5d38" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.039
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:05.321 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"
}
> * print "testing xlinkurl: 0.001
10:56:05.285 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.286 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79
> Given url link 0.000
> When method HEAD 0.034
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:05.320 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 33 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79
10:56:05.321 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.696
Scenario Outline Emissies naar het riool in 2015 vanuit de industrie
f2f86edf-ac3a-48e8-9292-0544da2d7645 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f2f86edf-ac3a-48e8-9292-0544da2d7645' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.643
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2f86edf-ac3a-48e8-9292-0544da2d7645' 0.005
* def title = get response //citation/CI_Citation/title/CharacterString 0.004
* print 'title:' + title 0.000
10:56:05.258 [print] title:Emissies naar het riool in 2015 vanuit de industrie
* print title 0.000
10:56:05.258 [print] Emissies naar het riool in 2015 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
10:56:05.262 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.005
10:56:05.270 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.016
* print nlinks 0.000
10:56:05.289 [print] [
  "https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"
]
* def id = "f2f86edf-ac3a-48e8-9292-0544da2d7645" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.504
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:05.796 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"
}
> * print "testing xlinkurl: 0.001
10:56:05.296 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.297 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65
> Given url link 0.000
> When method HEAD 0.499
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:05.796 javax.net.ssl.SSLException: Connection reset, http call failed after 498 milliseconds for URL: https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65
10:56:05.796 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.577
Scenario Outline Amplitude van het getij op de Noordzee
be6551de-a709-4c6d-a5e2-f63f0cf038ba <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'be6551de-a709-4c6d-a5e2-f63f0cf038ba' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.729
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'be6551de-a709-4c6d-a5e2-f63f0cf038ba' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
10:56:05.344 [print] title:Amplitude van het getij op de Noordzee
* print title 0.000
10:56:05.345 [print] Amplitude van het getij op de Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.003
* print email 0.003
10:56:05.353 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:05.357 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.006
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.015
10:56:05.372 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"
]
* def id = "be6551de-a709-4c6d-a5e2-f63f0cf038ba" 0.005
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.899
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:06.287 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
10:56:05.391 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.392 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"
}
> * print "testing xlinkurl: 0.003
10:56:05.739 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:05.740 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba
> Given url link 0.000
> When method HEAD 0.545
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:06.287 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.519
Scenario Outline Gebouwen (INSPIRE geharmoniseerd)
b4ae622c-6201-49d8-bd2e-f7fce9206a1e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b4ae622c-6201-49d8-bd2e-f7fce9206a1e' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.693
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae622c-6201-49d8-bd2e-f7fce9206a1e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.017
* print 'title:' + title 0.003
10:56:05.336 [print] title:Gebouwen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:05.337 [print] Gebouwen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:05.340 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.004
10:56:05.346 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.006
10:56:05.359 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"
]
* def id = "b4ae622c-6201-49d8-bd2e-f7fce9206a1e" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.398
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:05.761 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.002
10:56:05.385 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.386 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.350
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"
}
> * print "testing xlinkurl: 0.003
10:56:05.741 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.742 [print] testing xlinkurl:http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3
> Given url link 0.000
> When method HEAD 0.017
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:05.757 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3
10:56:05.759 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.646
Scenario Outline Luchtfoto 2017 25cm RGB open data
74aca3eb-c38b-4214-9537-e0abc69e11b5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '74aca3eb-c38b-4214-9537-e0abc69e11b5' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.564
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74aca3eb-c38b-4214-9537-e0abc69e11b5' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.001
10:56:05.898 [print] title:Luchtfoto 2017 25cm RGB open data
* print title 0.000
10:56:05.899 [print] Luchtfoto 2017 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.001
10:56:05.902 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:05.907 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.001
10:56:05.915 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b017",
  "",
  "",
  ""
]
* def id = "74aca3eb-c38b-4214-9537-e0abc69e11b5" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.032
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b017}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:05.950 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"
}
> * print "testing xlinkurl: 0.001
10:56:05.926 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.927 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b017
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:05.929 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b017
10:56:05.930 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:05.932 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:05.933 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.934 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:05.936 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:05.937 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:05.938 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:05.940 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.941 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:05.942 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:05.943 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:05.944 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:05.946 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:05.946 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:05.948 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:05.948 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.009
Scenario Outline Bodemkaart50000_versie2014
ed960299-a147-4c1a-bc57-41ff83a2264f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ed960299-a147-4c1a-bc57-41ff83a2264f' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.632
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.001
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ed960299-a147-4c1a-bc57-41ff83a2264f' 0.003
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.001
10:56:06.408 [print] title:Bodemkaart50000_versie2014
* print title 0.000
10:56:06.408 [print] Bodemkaart50000_versie2014
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:06.410 [print] [
  "fokke.brouwer@wur.nl",
  "GeoDesk@wur.nl",
  "fokke.brouwer@wur.nl",
  "GeoDesk@wur.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:06.414 [print] organisation: [
  "Wageningen Environmental Research",
  "Wageningen Environmental Research (Alterra)",
  "Wageningen Environmental Research",
  "Wageningen Environmental Research (Alterra)",
  "ALTERRA en voorafgaande instituten",
  "ALTERRA en voorafgaande instituten",
  "Alterra",
  "Alterra",
  "Alterra Wageningen UR",
  "Alterra"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.033
* print nlinks 0.002
10:56:06.451 [print] [
  "h",
  "t",
  "t",
  "p",
  ":",
  "/",
  "/",
  "s",
  "t",
  "a",
  "n",
  "d",
  "a",
  "r",
  "d",
  "s",
  ".",
  "i",
  "s",
  "o",
  ".",
  "o",
  "r",
  "g",
  "/",
  "i",
  "t",
  "t",
  "f",
  "/",
  "P",
  "u",
  "b",
  "l",
  "i",
  "c",
  "l",
  "y",
  "A",
  "v",
  "a",
  "i",
  "l",
  "a",
  "b",
  "l",
  "e",
  "S",
  "t",
  "a",
  "n",
  "d",
  "a",
  "r",
  "d",
  "s",
  "/",
  "I",
  "S",
  "O",
  "_",
  "1",
  "9",
  "1",
  "3",
  "9",
  "_",
  "S",
  "c",
  "h",
  "e",
  "m",
  "a",
  "s",
  "/",
  "r",
  "e",
  "s",
  "o",
  "u",
  "r",
  "c",
  "e",
  "s",
  "/",
  "u",
  "o",
  "m",
  "/",
  "g",
  "m",
  "x",
  "U",
  "o",
  "m",
  ".",
  "x",
  "m",
  "l",
  "#",
  "m"
]
* def id = "ed960299-a147-4c1a-bc57-41ff83a2264f" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.721
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=h}, {link=t}, {link=t}, {link=p}, {link=:}, {link=/}, {link=/}, {link=s}, {link=t}, {link=a}, {link=n}, {link=d}, {link=a}, {link=r}, {link=d}, {link=s}, {link=.}, {link=i}, {link=s}, {link=o}, {link=.}, {link=o}, {link=r}, {link=g}, {link=/}, {link=i}, {link=t}, {link=t}, {link=f}, {link=/}, {link=P}, {link=u}, {link=b}, {link=l}, {link=i}, {link=c}, {link=l}, {link=y}, {link=A}, {link=v}, {link=a}, {link=i}, {link=l}, {link=a}, {link=b}, {link=l}, {link=e}, {link=S}, {link=t}, {link=a}, {link=n}, {link=d}, {link=a}, {link=r}, {link=d}, {link=s}, {link=/}, {link=I}, {link=S}, {link=O}, {link=_}, {link=1}, {link=9}, {link=1}, {link=3}, {link=9}, {link=_}, {link=S}, {link=c}, {link=h}, {link=e}, {link=m}, {link=a}, {link=s}, {link=/}, {link=r}, {link=e}, {link=s}, {link=o}, {link=u}, {link=r}, {link=c}, {link=e}, {link=s}, {link=/}, {link=u}, {link=o}, {link=m}, {link=/}, {link=g}, {link=m}, {link=x}, {link=U}, {link=o}, {link=m}, {link=.}, {link=x}, {link=m}, {link=l}, {link=#}, {link=m}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"y"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"A"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"I"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"O"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"U"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"#"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.175 feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.003
10:56:06.470 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:06.471 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.474 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:06.475 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.003
10:56:06.477 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.480 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.481 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.482 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:06.485 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
10:56:06.487 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.488 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.489 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.494 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:06.494 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.001
10:56:06.496 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.497 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.498 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.499 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
10:56:06.500 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.007
10:56:06.501 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.509 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.510 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:06.511 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.001
10:56:06.513 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:06.515 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.515 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.517 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:06.517 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.001
10:56:06.519 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.521 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.521 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.523 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:06.524 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.002
10:56:06.525 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.528 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.529 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.530 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:06.530 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:06.532 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.533 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.533 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.534 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:06.535 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.001
10:56:06.536 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.537 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.537 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.538 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:06.539 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.001
10:56:06.540 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.541 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.542 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.543 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:06.543 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.008
10:56:06.545 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.553 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.554 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.555 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:06.556 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.001
10:56:06.557 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.559 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.559 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.560 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:06.560 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:06.560 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.561 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.562 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.563 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:06.563 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.001
10:56:06.563 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.565 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.566 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.567 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:06.567 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:06.568 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.570 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.571 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.572 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:06.573 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.001
10:56:06.574 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.577 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.577 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.578 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:06.580 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
10:56:06.581 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.582 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.582 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.583 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:06.583 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.002
10:56:06.584 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.586 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.588 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.589 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:06.589 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:06.589 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.590 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.591 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.591 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:06.593 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.003
10:56:06.593 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.597 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.597 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.598 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:06.598 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
10:56:06.598 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.604 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.604 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.605 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:06.605 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:06.606 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.607 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.607 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.608 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:06.608 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.002
10:56:06.608 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.610 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.610 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.611 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:06.611 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
10:56:06.611 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.612 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.612 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.613 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:06.613 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
10:56:06.613 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.615 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.615 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.615 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:06.615 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[26] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:06.615 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.617 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.617 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.618 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:06.618 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[27] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:06.618 feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.618 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.619 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.619 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:06.619 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[28] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
10:56:06.619 feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.620 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.621 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.008
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.630 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
10:56:06.630 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[29] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
10:56:06.630 feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.631 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.631 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.634 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:06.634 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[30] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.000
10:56:06.634 feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.635 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.635 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.636 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
10:56:06.636 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[31] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
10:56:06.636 feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.637 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.637 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.638 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:06.638 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[32] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "b"
}
> * print "testing xlinkurl: 0.001
10:56:06.638 feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.639 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.640 [print] testing xlinkurl:b
> Given url link 0.000
> When method HEAD 0.017
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.657 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: b
10:56:06.657 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[33] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.006
10:56:06.657 feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.664 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.664 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.671 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:06.671 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[34] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
10:56:06.672 feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.673 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.673 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.674 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:06.674 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[35] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.002
10:56:06.675 feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.678 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.008
10:56:06.687 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.689 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:06.689 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[36] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.006
10:56:06.689 feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.697 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.697 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.698 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:06.698 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[37] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "y"
}
> * print "testing xlinkurl: 0.000
10:56:06.699 feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.705 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.706 [print] testing xlinkurl:y
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.706 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: y
10:56:06.706 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[38] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "A"
}
> * print "testing xlinkurl: 0.000
10:56:06.706 feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"y"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.707 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.708 [print] testing xlinkurl:A
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.710 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: A
10:56:06.710 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[39] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "v"
}
> * print "testing xlinkurl: 0.000
10:56:06.712 feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"A"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.713 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.713 [print] testing xlinkurl:v
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.715 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: v
10:56:06.715 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[40] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.003
10:56:06.717 feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.720 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.720 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.721 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:06.721 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[41] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
10:56:06.721 feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.722 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.722 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.723 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:06.723 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[42] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
10:56:06.723 feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.724 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.724 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.724 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:06.724 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[43] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
10:56:06.725 feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.726 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.726 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.726 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:06.727 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[44] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "b"
}
> * print "testing xlinkurl: 0.000
10:56:06.727 feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.728 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.728 [print] testing xlinkurl:b
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.729 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: b
10:56:06.729 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[45] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
10:56:06.729 feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.730 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.730 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.731 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:06.731 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[46] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:06.731 feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.732 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.732 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.021
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.753 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:06.754 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[47] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.001
10:56:06.754 feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.756 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.756 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.759 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
10:56:06.759 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[48] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:06.759 feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.760 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.761 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.763 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:06.763 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[49] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.001
10:56:06.763 feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.764 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.765 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.767 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:06.767 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[50] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.001
10:56:06.767 feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.769 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.769 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.770 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:06.770 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[51] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
10:56:06.770 feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.771 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.771 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.772 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:06.772 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[52] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.011
10:56:06.772 feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.784 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.784 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.785 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:06.785 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[53] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.007
10:56:06.785 feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.794 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.794 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.794 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:06.794 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[54] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.006
10:56:06.795 feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.802 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.802 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.802 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:06.802 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[55] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.006
10:56:06.803 feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.810 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.810 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.811 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:06.811 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[56] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
10:56:06.811 feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.812 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.812 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.813 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:06.813 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[57] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "I"
}
> * print "testing xlinkurl: 0.008
10:56:06.813 feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.821 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.822 [print] testing xlinkurl:I
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.822 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: I
10:56:06.822 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[58] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
10:56:06.827 feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"I"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.828 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.828 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.828 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
10:56:06.829 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[59] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "O"
}
> * print "testing xlinkurl: 0.000
10:56:06.829 feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.830 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.830 [print] testing xlinkurl:O
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.830 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: O
10:56:06.830 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[60] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "_"
}
> * print "testing xlinkurl: 0.001
10:56:06.831 feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"O"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.832 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.832 [print] testing xlinkurl:_
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.833 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: _
10:56:06.834 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[61] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.001
10:56:06.842 feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.844 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.845 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.845 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
10:56:06.845 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[62] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.001
10:56:06.846 feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.847 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
10:56:06.850 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.851 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
10:56:06.851 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[63] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.001
10:56:06.851 feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.852 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.852 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.854 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
10:56:06.854 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[64] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "3"
}
> * print "testing xlinkurl: 0.000
10:56:06.854 feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.855 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.855 [print] testing xlinkurl:3
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.855 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 3
10:56:06.855 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[65] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.001
10:56:06.858 feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.859 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.859 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.859 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
10:56:06.860 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[66] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "_"
}
> * print "testing xlinkurl: 0.004
10:56:06.860 feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.864 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.864 [print] testing xlinkurl:_
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.865 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: _
10:56:06.865 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[67] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
10:56:06.865 feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.866 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.866 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.868 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
10:56:06.868 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[68] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.005
10:56:06.868 feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.874 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.007
10:56:06.882 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.882 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:06.882 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[69] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.001
10:56:06.883 feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.884 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.884 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.885 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:06.885 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[70] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:06.885 feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.886 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.886 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.887 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:06.887 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[71] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.001
10:56:06.887 feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.888 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:06.890 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.891 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:06.891 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[72] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.009
10:56:06.892 feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.902 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.902 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.903 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:06.907 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[73] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.006
10:56:06.907 feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.914 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.914 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.914 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:06.914 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[74] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
10:56:06.915 feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.916 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.916 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.916 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:06.916 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[75] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.021
10:56:06.916 feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.938 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.938 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.939 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:06.939 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[76] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:06.939 feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.940 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.940 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.941 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:06.941 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[77] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.007
10:56:06.941 feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.949 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.949 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.954 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:06.955 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[78] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
10:56:06.955 feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.957 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.957 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.957 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:06.957 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[79] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.007
10:56:06.958 feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.966 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.966 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.971 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:06.972 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[80] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.002
10:56:06.972 feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.974 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:06.978 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.978 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:06.978 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[81] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.001
10:56:06.978 feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.980 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.981 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.981 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:06.981 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[82] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.003
10:56:06.981 feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.986 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.986 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.986 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:06.986 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[83] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:06.987 feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.988 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.988 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.988 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:06.988 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[84] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.003
10:56:06.988 feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:06.994 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.007
10:56:07.002 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.002 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:07.002 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[85] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.001
10:56:07.002 feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.004 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.005 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.005 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:07.005 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[86] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
10:56:07.006 feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.007 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.007 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.023
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.030 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:07.030 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[87] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.002
10:56:07.031 feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.034 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.034 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.035 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:07.042 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[88] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.001
10:56:07.042 feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.044 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.045 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.050 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:07.050 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[89] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.002
10:56:07.050 feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.052 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:07.058 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.008
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.066 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:07.066 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[90] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.004
10:56:07.066 feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.072 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.072 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.073 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:07.074 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[91] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.013
10:56:07.074 feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.087 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:07.090 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.090 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
10:56:07.090 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[92] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "U"
}
> * print "testing xlinkurl: 0.002
10:56:07.091 feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.094 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.095 [print] testing xlinkurl:U
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.098 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: U
10:56:07.098 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[93] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.007
10:56:07.102 feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"U"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.110 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:07.114 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.114 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:07.114 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[94] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.002
10:56:07.114 feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.117 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.118 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.118 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:07.118 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[95] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.002
10:56:07.119 feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.122 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.122 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.122 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:07.122 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[96] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.014
10:56:07.123 feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.138 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.138 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.139 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
10:56:07.139 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[97] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.003
10:56:07.139 feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.143 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.143 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.144 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:07.144 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[98] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
10:56:07.144 feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.145 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.145 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.148 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:07.148 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[99] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "#"
}
> * print "testing xlinkurl: 0.000
10:56:07.148 feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.149 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.149 [print] testing xlinkurl:#
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.150 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: #
10:56:07.150 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[100] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.015
10:56:07.150 feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"#"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.166 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.166 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:07.174 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:07.174 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.384
Scenario Outline Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
1c3afc74-cc34-44b7-938a-963e2350795a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1c3afc74-cc34-44b7-938a-963e2350795a' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.693
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c3afc74-cc34-44b7-938a-963e2350795a' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.004
* print 'title:' + title 0.003
10:56:06.661 [print] title:Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
* print title 0.000
10:56:06.662 [print] Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
10:56:06.665 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.004
10:56:06.671 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.019
* print nlinks 0.002
10:56:06.699 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"
]
* def id = "1c3afc74-cc34-44b7-938a-963e2350795a" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.320
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:07.022 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.005
10:56:06.713 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.713 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.296
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"
}
> * print "testing xlinkurl: 0.001
10:56:07.012 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.013 [print] testing xlinkurl:http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c
> Given url link 0.000
> When method HEAD 0.009
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:07.022 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c
10:56:07.022 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.670
Scenario Outline Hydrografie
4b282988-cb91-4bbc-b147-f653014917cb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4b282988-cb91-4bbc-b147-f653014917cb' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.580
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b282988-cb91-4bbc-b147-f653014917cb' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.006
10:56:06.882 [print] title:Hydrografie
* print title 0.000
10:56:06.882 [print] Hydrografie
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:06.883 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.006
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.013
10:56:06.903 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.005
* print nlinks 0.000
10:56:06.912 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"
]
* def id = "4b282988-cb91-4bbc-b147-f653014917cb" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.023
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:06.938 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"
}
> * print "testing xlinkurl: 0.019
10:56:06.936 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:06.936 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:06.938 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80
10:56:06.938 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.499
Scenario Outline Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
50a2c5e6-c8e7-425d-854e-26f578196bc9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '50a2c5e6-c8e7-425d-854e-26f578196bc9' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.685
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '50a2c5e6-c8e7-425d-854e-26f578196bc9' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
10:56:07.429 [print] title:Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
* print title 0.000
10:56:07.429 [print] Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.020
* print email 0.000
10:56:07.450 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:07.452 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.011
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:07.466 [print] [
  "https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"
]
* def id = "50a2c5e6-c8e7-425d-854e-26f578196bc9" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.391
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:07.862 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"
}
> * print "testing xlinkurl: 0.000
10:56:07.476 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.487 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65
> Given url link 0.000
> When method HEAD 0.373
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:07.861 javax.net.ssl.SSLException: Connection reset, http call failed after 372 milliseconds for URL: https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65
10:56:07.862 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.543
Scenario Outline Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
6c06740d-058f-4a12-bb3f-bf68efd03d09 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6c06740d-058f-4a12-bb3f-bf68efd03d09' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.879
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c06740d-058f-4a12-bb3f-bf68efd03d09' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:07.824 [print] title:Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:07.825 [print] Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.002
10:56:07.831 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:07.833 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:07.848 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"
]
* def id = "6c06740d-058f-4a12-bb3f-bf68efd03d09" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.327
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:08.179 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.013
10:56:07.870 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:07.870 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.292
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"
}
> * print "testing xlinkurl: 0.000
10:56:08.168 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.172 [print] testing xlinkurl:http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:08.177 java.net.UnknownHostException: kadaster, http call failed after 3 milliseconds for URL: http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a
10:56:08.178 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.602
Scenario Outline Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.822
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.010
* print 'title:' + title 0.001
10:56:07.812 [print] title:Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
* print title 0.000
10:56:07.812 [print] Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:07.814 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:07.815 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.012
10:56:07.843 [print] [
  "https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"
]
* def id = "8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6" 0.015
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.368
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:08.226 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"
}
> * print "testing xlinkurl: 0.000
10:56:07.861 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.868 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:08.226 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd
10:56:08.226 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
4.185
Scenario Outline Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
19165027-a13a-4c19-9013-ec1fd191019d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '19165027-a13a-4c19-9013-ec1fd191019d' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.926
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '19165027-a13a-4c19-9013-ec1fd191019d' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:07.950 [print] title:Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
* print title 0.000
10:56:07.952 [print] Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
10:56:07.955 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "GeoDesk.CGI@wur.nl",
  "beheer@pdok.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.006
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:07.963 [print] organisation: [
  "",
  ""
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:07.969 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "19165027-a13a-4c19-9013-ec1fd191019d" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.618
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.593 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d"
}
> * print "testing xlinkurl: 0.000
10:56:07.978 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:07.978 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d
> Given url link 0.000
> When method HEAD 0.284
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
10:56:08.265 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.266 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.325
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.593 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.561
Scenario Outline Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
fe45c540-e37d-11e4-b571-0800200c9a66 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.531
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.007
10:56:07.574 [print] title:Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* print title 0.000
10:56:07.575 [print] Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* def email = get response //electronicMailAddress/CharacterString 0.004
* print email 0.000
10:56:07.580 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.003
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:07.585 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:47 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
* def id = "fe45c540-e37d-11e4-b571-0800200c9a66" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
1.571
Scenario Outline Geluidkaart hoofdspoornet 2016 (Lden)
c3c004ad-5387-4b00-a225-9afbcaa5d31b <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c3c004ad-5387-4b00-a225-9afbcaa5d31b' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.858
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3c004ad-5387-4b00-a225-9afbcaa5d31b' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:08.045 [print] title:Geluidkaart hoofdspoornet 2016 (Lden)
* print title 0.000
10:56:08.046 [print] Geluidkaart hoofdspoornet 2016 (Lden)
* def email = get response //electronicMailAddress/CharacterString 0.005
* print email 0.000
10:56:08.051 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:08.054 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.000
10:56:08.060 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"
]
* def id = "c3c004ad-5387-4b00-a225-9afbcaa5d31b" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.345
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:08.410 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"
}
> * print "testing xlinkurl: 0.001
10:56:08.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.069 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b
> Given url link 0.000
> When method HEAD 0.339
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:08.410 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.854
Scenario Outline Luchtfoto 2016 25cm CIR open data
1be28290-55fa-4486-b9d3-b9d147117863 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.007
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1be28290-55fa-4486-b9d3-b9d147117863' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.780
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1be28290-55fa-4486-b9d3-b9d147117863' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:08.380 [print] title:Luchtfoto 2016 25cm CIR open data
* print title 0.000
10:56:08.381 [print] Luchtfoto 2016 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:08.383 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:08.386 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:08.390 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b015",
  "",
  "",
  ""
]
* def id = "1be28290-55fa-4486-b9d3-b9d147117863" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.031
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b015}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:08.422 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"
}
> * print "testing xlinkurl: 0.001
10:56:08.396 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.397 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b015
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:08.398 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b015
10:56:08.399 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:08.400 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:08.402 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.403 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:08.404 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:08.404 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:08.404 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:08.407 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.407 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:08.407 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:08.408 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:08.408 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:08.409 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.008
10:56:08.419 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:08.420 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:08.421 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.427
Scenario Outline Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
31de946d-85d4-4c93-bb97-e25f4ef1401a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '31de946d-85d4-4c93-bb97-e25f4ef1401a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.708
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '31de946d-85d4-4c93-bb97-e25f4ef1401a' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:08.575 [print] title:Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
* print title 0.000
10:56:08.576 [print] Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:08.578 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:08.580 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.000
10:56:08.586 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"
]
* def id = "31de946d-85d4-4c93-bb97-e25f4ef1401a" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.355
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:08.944 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:08.593 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.593 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.345
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"
}
> * print "testing xlinkurl: 0.000
10:56:08.942 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.943 [print] testing xlinkurl:http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:08.944 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de
10:56:08.944 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
5.353
Scenario Outline Olie- en gasvelden onder INSPIRE
b61a773c-ecad-4e60-93e9-0a4caac0b52f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b61a773c-ecad-4e60-93e9-0a4caac0b52f' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.716
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b61a773c-ecad-4e60-93e9-0a4caac0b52f' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:08.906 [print] title:Olie- en gasvelden onder INSPIRE
* print title 0.000
10:56:08.906 [print] Olie- en gasvelden onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:08.908 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:08.910 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:08.914 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/33",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "b61a773c-ecad-4e60-93e9-0a4caac0b52f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.315
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/33}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:11.232 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"
}
> * print "testing xlinkurl: 0.000
10:56:08.920 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:08.920 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef
> Given url link 0.000
> When method HEAD 0.292
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.214 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"
}
> * print "testing xlinkurl: 0.000
10:56:09.215 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.217 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:09.218 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/33
> Given url link 0.000
> When method HEAD 0.745
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.966 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.003
10:56:09.966 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.970 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:09.971 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.699
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:10.672 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:10.672 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:10.673 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:10.673 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.556
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:11.230 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.398
Scenario Outline Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
8f45b8ef-0ce8-463a-9059-5efdcecb785c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8f45b8ef-0ce8-463a-9059-5efdcecb785c' 0.008
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.767
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8f45b8ef-0ce8-463a-9059-5efdcecb785c' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:09.006 [print] title:Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:09.007 [print] Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:09.009 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:09.013 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:09.019 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"
]
* def id = "8f45b8ef-0ce8-463a-9059-5efdcecb785c" 0.008
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.304
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:09.331 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
10:56:09.032 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:09.033 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.292
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"
}
> * print "testing xlinkurl: 0.000
10:56:09.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:09.328 [print] testing xlinkurl:http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:09.330 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586
10:56:09.331 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.483
Scenario Outline Gemeten Fijn stof concentraties in buitenlucht.
b3ec8793-7747-4da0-b6c3-aa384446a586 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b3ec8793-7747-4da0-b6c3-aa384446a586' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.733
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b3ec8793-7747-4da0-b6c3-aa384446a586' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.002
10:56:09.151 [print] title:Gemeten Fijn stof concentraties in buitenlucht.
* print title 0.000
10:56:09.152 [print] Gemeten Fijn stof concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
10:56:09.154 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:09.156 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:09.162 [print] [
  "https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"
]
* def id = "b3ec8793-7747-4da0-b6c3-aa384446a586" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.367
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:09.533 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"
}
> * print "testing xlinkurl: 0.000
10:56:09.169 [print]
> * def link = __arg.link 0.003
> * print "testing xlinkurl:" + link 0.000
10:56:09.173 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa
> Given url link 0.000
> When method HEAD 0.358
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:09.532 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa
10:56:09.532 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.492
Scenario Outline Gemeten Stikstofdioxide concentraties in buitenlucht.
733559a5-201d-40e5-ad43-d1c7bae84d9f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '733559a5-201d-40e5-ad43-d1c7bae84d9f' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.750
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '733559a5-201d-40e5-ad43-d1c7bae84d9f' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:09.180 [print] title:Gemeten Stikstofdioxide concentraties in buitenlucht.
* print title 0.000
10:56:09.180 [print] Gemeten Stikstofdioxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:09.181 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:09.182 [print] organisation: RIVM
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:09.185 [print] [
  "https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"
]
* def id = "733559a5-201d-40e5-ad43-d1c7bae84d9f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.553 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"
}
> * print "testing xlinkurl: 0.000
10:56:09.190 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:09.190 [print] testing xlinkurl:https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6
> Given url link 0.000
> When method HEAD 0.361
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:09.553 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.324
Scenario Outline INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
493ab81b-75f8-4205-b030-6b2fd9eb4295 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '493ab81b-75f8-4205-b030-6b2fd9eb4295' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.673
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '493ab81b-75f8-4205-b030-6b2fd9eb4295' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:09.625 [print] title:INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
* print title 0.000
10:56:09.626 [print] INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.001
10:56:09.629 [print] [
  "info@cultureelerfgoed.nl",
  "info@cultureelerfgoed.nl",
  "info@cultureelerfgoed.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:09.631 [print] organisation: [
  "Rijksdienst voor het Cultureel Erfgoed",
  "Rijksdienst voor het Cultureel Erfgoed",
  "Rijksdienst voor het Cultureel Erfgoed"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.005
* print nlinks 0.001
10:56:09.638 [print] [
  "https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"
]
* def id = "493ab81b-75f8-4205-b030-6b2fd9eb4295" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.815
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:10.458 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"
}
> * print "testing xlinkurl: 0.001
10:56:09.648 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:09.649 [print] testing xlinkurl:https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip
> Given url link 0.000
> When method HEAD 0.808
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:10.458 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.417
Scenario Outline Kadastrale Percelen (INSPIRE geharmoniseerd)
e80ad426-1392-4349-9f80-14dae5f1bf57 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e80ad426-1392-4349-9f80-14dae5f1bf57' 0.012
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.766
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e80ad426-1392-4349-9f80-14dae5f1bf57' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:10.116 [print] title:Kadastrale Percelen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:10.116 [print] Kadastrale Percelen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:10.118 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:10.121 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.001
10:56:10.127 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"
]
* def id = "e80ad426-1392-4349-9f80-14dae5f1bf57" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.313
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:10.443 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
10:56:10.134 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:10.135 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.300
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"
}
> * print "testing xlinkurl: 0.002
10:56:10.439 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:10.439 [print] testing xlinkurl:http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:10.441 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344
10:56:10.442 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.503
Scenario Outline Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
e1e99000-ec47-4e9f-84a5-adad24fef0dc <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e1e99000-ec47-4e9f-84a5-adad24fef0dc' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.702
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e1e99000-ec47-4e9f-84a5-adad24fef0dc' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:10.242 [print] title:Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
* print title 0.000
10:56:10.243 [print] Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:10.243 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:10.244 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:10.251 [print] [
  "https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"
]
* def id = "e1e99000-ec47-4e9f-84a5-adad24fef0dc" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.392
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:10.647 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"
}
> * print "testing xlinkurl: 0.001
10:56:10.259 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:10.260 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f
> Given url link 0.000
> When method HEAD 0.387
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:10.647 javax.net.ssl.SSLException: Connection reset, http call failed after 387 milliseconds for URL: https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f
10:56:10.647 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.766
Scenario Outline Geografische Namen (Nat) - Nederland
34e95842-4e4e-46de-9198-79e8cd4d30dc <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '34e95842-4e4e-46de-9198-79e8cd4d30dc' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.837
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '34e95842-4e4e-46de-9198-79e8cd4d30dc' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:11.243 [print] title:Geografische Namen (Nat) - Nederland
* print title 0.000
10:56:11.244 [print] Geografische Namen (Nat) - Nederland
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:11.246 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.002
10:56:11.250 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.000
10:56:11.255 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"
]
* def id = "34e95842-4e4e-46de-9198-79e8cd4d30dc" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.456
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:11.716 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"
}
> * print "testing xlinkurl: 0.002
10:56:11.266 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.267 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc
> Given url link 0.000
> When method HEAD 0.448
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:11.715 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.668
Scenario Outline Actueel Hoogtebestand Nederland 1 (AHN1)
5a1adb58-0bbe-425d-b0fe-577a6c0a4228 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5a1adb58-0bbe-425d-b0fe-577a6c0a4228' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.846
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5a1adb58-0bbe-425d-b0fe-577a6c0a4228' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:11.298 [print] title:Actueel Hoogtebestand Nederland 1 (AHN1)
* print title 0.000
10:56:11.299 [print] Actueel Hoogtebestand Nederland 1 (AHN1)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.009
10:56:11.310 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.003
10:56:11.314 [print] organisation: [
  "Rijkswaterstaat",
  "stuurgroep AHN",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.010
* print nlinks 0.007
10:56:11.334 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "5a1adb58-0bbe-425d-b0fe-577a6c0a4228" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.891
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.228 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228"
}
> * print "testing xlinkurl: 0.001
10:56:11.344 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.344 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228
> Given url link 0.000
> When method HEAD 0.334
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.001
10:56:11.681 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.682 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.543
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:12.226 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:12.226 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:12.227 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.228 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.228 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:12.228 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
4.161
Scenario Outline Actueel Hoogtebestand Nederland 2 (AHN2)
7939fd42-cf88-42c5-ab3b-232cf232a3ac <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7939fd42-cf88-42c5-ab3b-232cf232a3ac' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.937
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7939fd42-cf88-42c5-ab3b-232cf232a3ac' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:11.401 [print] title:Actueel Hoogtebestand Nederland 2 (AHN2)
* print title 0.000
10:56:11.401 [print] Actueel Hoogtebestand Nederland 2 (AHN2)
* def email = get response //electronicMailAddress/CharacterString 0.009
* print email 0.000
10:56:11.411 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:11.413 [print] organisation: [
  "Rijkswaterstaat",
  "stuurgroep AHN",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:11.417 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "7939fd42-cf88-42c5-ab3b-232cf232a3ac" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.602
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:13.024 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac"
}
> * print "testing xlinkurl: 0.000
10:56:11.424 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
10:56:11.426 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac
> Given url link 0.000
> When method HEAD 0.357
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
10:56:11.785 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.785 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 1.224
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.010 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:13.010 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.012 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.012 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.010
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:13.022 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:13.023 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.820
Scenario Outline Geluidbelasting rijkswegen in Nederland 2006 (24-uurs gemiddelde)
9b583730-e750-485a-9c0c-39bf9be72cf9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9b583730-e750-485a-9c0c-39bf9be72cf9' 0.017
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.554
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9b583730-e750-485a-9c0c-39bf9be72cf9' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
10:56:11.226 [print] title:Geluidbelasting rijkswegen in Nederland 2006 (24-uurs gemiddelde)
* print title 0.000
10:56:11.227 [print] Geluidbelasting rijkswegen in Nederland 2006 (24-uurs gemiddelde)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.001
10:56:11.237 [print] [
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.012
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.003
10:56:11.252 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.001
10:56:11.259 [print] [
  "u",
  "r",
  "n",
  ":",
  "o",
  "g",
  "c",
  ":",
  "d",
  "e",
  "f",
  ":",
  "c",
  "r",
  "s",
  ":",
  "E",
  "P",
  "S",
  "G",
  ":",
  ":",
  "5",
  "7",
  "0",
  "9"
]
* def id = "9b583730-e750-485a-9c0c-39bf9be72cf9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.122
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=u}, {link=r}, {link=n}, {link=:}, {link=o}, {link=g}, {link=c}, {link=:}, {link=d}, {link=e}, {link=f}, {link=:}, {link=c}, {link=r}, {link=s}, {link=:}, {link=E}, {link=P}, {link=S}, {link=G}, {link=:}, {link=:}, {link=5}, {link=7}, {link=0}, {link=9}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"7"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"0"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.384 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.001
10:56:11.267 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.268 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.269 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:11.270 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:11.270 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.271 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.272 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.272 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:11.273 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
10:56:11.273 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.274 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.275 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.275 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:11.276 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:11.276 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.278 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.278 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.279 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:11.280 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.281 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.281 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.284 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:11.284 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
10:56:11.285 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.286 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.287 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.287 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:11.288 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
10:56:11.289 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.290 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.290 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.291 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:11.291 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.012
10:56:11.292 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.305 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.305 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.305 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
10:56:11.306 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.306 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.307 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.307 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:11.307 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:11.307 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.308 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.308 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.309 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:11.309 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.001
10:56:11.309 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.311 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.311 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.312 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
10:56:11.312 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.001
10:56:11.312 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.313 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.313 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.313 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.008
10:56:11.314 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.322 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.322 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.326 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:11.326 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:11.326 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.327 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.328 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:11.328 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:11.328 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.329 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:11.333 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.333 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:11.333 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.001
10:56:11.340 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.342 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.342 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.342 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "E"
}
> * print "testing xlinkurl: 0.000
10:56:11.342 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.343 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:11.344 [print] testing xlinkurl:E
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.345 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: E
10:56:11.345 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.006
10:56:11.345 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.352 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.352 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.352 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
10:56:11.352 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.004
10:56:11.353 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.358 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.358 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.359 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
10:56:11.359 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "G"
}
> * print "testing xlinkurl: 0.000
10:56:11.359 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.360 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.360 [print] testing xlinkurl:G
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.360 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: G
10:56:11.360 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:11.361 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.361 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.361 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.362 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.001
10:56:11.364 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.366 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.366 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.366 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "5"
}
> * print "testing xlinkurl: 0.000
10:56:11.366 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:11.367 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.367 [print] testing xlinkurl:5
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.367 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 5
10:56:11.367 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "7"
}
> * print "testing xlinkurl: 0.000
10:56:11.367 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.369 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.369 [print] testing xlinkurl:7
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.370 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 7
10:56:11.370 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "0"
}
> * print "testing xlinkurl: 0.009
10:56:11.370 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"7"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.380 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.381 [print] testing xlinkurl:0
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.382 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 0
10:56:11.382 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.000
10:56:11.382 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"0"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.383 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.383 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:11.383 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
10:56:11.383 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.609
Scenario Outline Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
8de2f5eb-b09f-4f6d-8397-8878a1b86238 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8de2f5eb-b09f-4f6d-8397-8878a1b86238' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.683
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8de2f5eb-b09f-4f6d-8397-8878a1b86238' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.002
10:56:11.352 [print] title:Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
* print title 0.004
10:56:11.358 [print] Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
* def email = get response //electronicMailAddress/CharacterString 0.008
* print email 0.000
10:56:11.367 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:11.368 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.006
* print nlinks 0.004
10:56:11.380 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "8de2f5eb-b09f-4f6d-8397-8878a1b86238" 0.011
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.946
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.338 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238"
}
> * print "testing xlinkurl: 0.002
10:56:11.396 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.396 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238
> Given url link 0.000
> When method HEAD 0.372
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.001
10:56:11.772 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.773 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.209
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:11.984 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:11.984 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:11.985 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.985 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.002
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:12.324 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:12.328 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:12.331 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
10:56:12.333 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.335 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:12.336 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.816
Scenario Outline Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
eu-f297898-2640-44c2-bbe9-c0480da83794 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-f297898-2640-44c2-bbe9-c0480da83794' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.711
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-f297898-2640-44c2-bbe9-c0480da83794' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.005
10:56:11.955 [print] title:Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
* print title 0.000
10:56:11.955 [print] Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:11.957 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:11.961 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:11.964 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "eu-f297898-2640-44c2-bbe9-c0480da83794" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.544
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/8}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.513 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794"
}
> * print "testing xlinkurl: 0.000
10:56:11.971 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:11.972 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794
> Given url link 0.000
> When method HEAD 0.330
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"
}
> * print "testing xlinkurl: 0.000
10:56:12.305 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.306 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/8
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:12.509 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.002
10:56:12.510 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:12.512 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.512 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.513 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:12.513 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.736
Scenario Outline Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
4783ea4f-6b8c-4600-8af0-516f3556cfe9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4783ea4f-6b8c-4600-8af0-516f3556cfe9' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.637
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4783ea4f-6b8c-4600-8af0-516f3556cfe9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:12.030 [print] title:Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
* print title 0.000
10:56:12.030 [print] Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:12.031 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:12.032 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.000
10:56:12.037 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "",
  "",
  "",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "4783ea4f-6b8c-4600-8af0-516f3556cfe9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.544
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=}, {link=}, {link=}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.585 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9"
}
> * print "testing xlinkurl: 0.000
10:56:12.044 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.045 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9
> Given url link 0.000
> When method HEAD 0.326
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
10:56:12.375 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.375 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:12.579 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:12.579 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:12.580 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.580 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.580 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:12.580 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:12.581 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.581 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.582 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.582 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:12.582 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:12.582 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.583 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.583 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.583 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:12.583 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:12.583 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.584 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.584 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:12.585 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:12.585 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.377
Scenario Outline Gemeten Koolstofmonoxide concentraties in buitenlucht.
5800f3b0-2ea2-4231-8165-216a7b26867f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5800f3b0-2ea2-4231-8165-216a7b26867f' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.601
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5800f3b0-2ea2-4231-8165-216a7b26867f' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:12.327 [print] title:Gemeten Koolstofmonoxide concentraties in buitenlucht.
* print title 0.009
10:56:12.343 [print] Gemeten Koolstofmonoxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:12.345 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:12.347 [print] organisation: RIVM
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:12.350 [print] [
  "https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"
]
* def id = "5800f3b0-2ea2-4231-8165-216a7b26867f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.375
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:12.727 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"
}
> * print "testing xlinkurl: 0.013
10:56:12.367 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.367 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f
> Given url link 0.000
> When method HEAD 0.359
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:12.727 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f
10:56:12.727 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
4.556
Scenario Outline Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
50eef6be-619d-4e16-9b92-48971109b636 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '50eef6be-619d-4e16-9b92-48971109b636' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.540
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '50eef6be-619d-4e16-9b92-48971109b636' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:12.783 [print] title:Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
* print title 0.000
10:56:12.783 [print] Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:12.786 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:12.788 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.002
10:56:12.793 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "50eef6be-619d-4e16-9b92-48971109b636" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.997
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:14.793 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636"
}
> * print "testing xlinkurl: 0.001
10:56:12.798 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.799 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636
> Given url link 0.000
> When method HEAD 0.338
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.001
10:56:13.140 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.141 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.206
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.348 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49"
}
> * print "testing xlinkurl: 0.008
10:56:13.348 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.358 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.359 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49
> Given url link 0.000
> When method HEAD 1.004
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:14.366 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.366 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.423
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:14.790 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:14.790 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:14.792 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.792 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:14.793 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:14.793 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.656
Scenario Outline Geluidbelasting rijkswegen in Nederland 2016 (24-uurs gemiddelde)
9b583730-e750-485a-9c0c-39bf9be72cf8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9b583730-e750-485a-9c0c-39bf9be72cf8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.455
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9b583730-e750-485a-9c0c-39bf9be72cf8' 0.004
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
10:56:12.805 [print] title:Geluidbelasting rijkswegen in Nederland 2016 (24-uurs gemiddelde)
* print title 0.000
10:56:12.806 [print] Geluidbelasting rijkswegen in Nederland 2016 (24-uurs gemiddelde)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.002
10:56:12.810 [print] [
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:12.812 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.002
10:56:12.817 [print] [
  "u",
  "r",
  "n",
  ":",
  "o",
  "g",
  "c",
  ":",
  "d",
  "e",
  "f",
  ":",
  "c",
  "r",
  "s",
  ":",
  "E",
  "P",
  "S",
  "G",
  ":",
  ":",
  "5",
  "7",
  "0",
  "9"
]
* def id = "9b583730-e750-485a-9c0c-39bf9be72cf8" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.101
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=u}, {link=r}, {link=n}, {link=:}, {link=o}, {link=g}, {link=c}, {link=:}, {link=d}, {link=e}, {link=f}, {link=:}, {link=c}, {link=r}, {link=s}, {link=:}, {link=E}, {link=P}, {link=S}, {link=G}, {link=:}, {link=:}, {link=5}, {link=7}, {link=0}, {link=9}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"7"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"0"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.920 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.001
10:56:12.823 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.824 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.825 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:12.826 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:12.827 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.828 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.828 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.829 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:12.830 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
10:56:12.833 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.841 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.841 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.842 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:12.842 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:12.842 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.843 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.843 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.843 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:12.843 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.844 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.844 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.844 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:12.844 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
10:56:12.844 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.845 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.845 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.845 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:12.845 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
10:56:12.846 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.846 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.846 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.847 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:12.847 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:12.847 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.847 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.848 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.848 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
10:56:12.848 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.848 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.848 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.849 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:12.849 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.010
10:56:12.849 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.860 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.860 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.861 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:12.861 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
10:56:12.861 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.862 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.862 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.862 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
10:56:12.862 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:12.862 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.863 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.863 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.863 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
10:56:12.863 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.864 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.864 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.865 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:12.865 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.002
10:56:12.865 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.868 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.868 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.868 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:12.868 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.009
10:56:12.869 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.878 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.878 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.879 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:12.879 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:12.879 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.880 [print]
> * def link = __arg.link 0.002
> * print "testing xlinkurl:" + link 0.000
10:56:12.883 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.883 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "E"
}
> * print "testing xlinkurl: 0.000
10:56:12.883 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.884 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.884 [print] testing xlinkurl:E
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.885 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: E
10:56:12.885 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.000
10:56:12.885 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.886 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.886 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.008
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.894 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
10:56:12.894 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
10:56:12.894 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.895 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.895 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.896 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
10:56:12.896 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "G"
}
> * print "testing xlinkurl: 0.000
10:56:12.896 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.897 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.897 [print] testing xlinkurl:G
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.897 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: G
10:56:12.897 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:12.897 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.898 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.898 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.002
10:56:12.898 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.901 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.901 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.901 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "5"
}
> * print "testing xlinkurl: 0.000
10:56:12.901 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:12.902 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.902 [print] testing xlinkurl:5
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.903 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 5
10:56:12.903 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "7"
}
> * print "testing xlinkurl: 0.000
10:56:12.903 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.903 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.903 [print] testing xlinkurl:7
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.904 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 7
10:56:12.904 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "0"
}
> * print "testing xlinkurl: 0.004
10:56:12.904 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"7"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.908 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.908 [print] testing xlinkurl:0
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.909 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 0
10:56:12.909 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.004
10:56:12.910 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"0"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.914 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:12.915 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:12.920 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
10:56:12.920 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.271
Scenario Outline Waterstanden en afvoeren actueel - Rijkswaterstaat
cf69ec50-9849-4afd-853c-ee56211d336d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'cf69ec50-9849-4afd-853c-ee56211d336d' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.727
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee56211d336d' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:13.251 [print] title:Waterstanden en afvoeren actueel - Rijkswaterstaat
* print title 0.000
10:56:13.252 [print] Waterstanden en afvoeren actueel - Rijkswaterstaat
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.004
10:56:13.257 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:13.260 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
10:56:13.264 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "cf69ec50-9849-4afd-853c-ee56211d336d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.762
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:14.028 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d"
}
> * print "testing xlinkurl: 0.001
10:56:13.270 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.271 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d
> Given url link 0.000
> When method HEAD 0.338
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.001
10:56:13.611 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.612 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.816 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.000
10:56:13.816 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.817 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.818 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.207
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:14.026 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:14.026 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:14.027 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.027 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:14.028 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:14.028 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.028
Scenario Outline Gebieden in de Eemsmonding en de Dollard
f44dac86-2228-412f-8355-e56446ca9933 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f44dac86-2228-412f-8355-e56446ca9933' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.691
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f44dac86-2228-412f-8355-e56446ca9933' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.003
10:56:13.286 [print] title:Gebieden in de Eemsmonding en de Dollard
* print title 0.000
10:56:13.286 [print] Gebieden in de Eemsmonding en de Dollard
* def email = get response //electronicMailAddress/CharacterString 0.003
* print email 0.001
10:56:13.291 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:13.293 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
10:56:13.297 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933",
  "www.hydro.nl"
]
* def id = "f44dac86-2228-412f-8355-e56446ca9933" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.664
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933}, {link=www.hydro.nl}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:13.966 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.002
10:56:13.306 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.307 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.324
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"
}
> * print "testing xlinkurl: 0.000
10:56:13.643 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.643 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:13.958 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "www.hydro.nl"
}
> * print "testing xlinkurl: 0.001
10:56:13.960 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:13.962 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.963 [print] testing xlinkurl:www.hydro.nl
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:13.964 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: www.hydro.nl
10:56:13.965 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.803
Scenario Outline Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.688
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:13.423 [print] title:Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
* print title 0.000
10:56:13.424 [print] Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:13.426 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:13.428 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
10:56:13.432 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.551
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:13.986 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2"
}
> * print "testing xlinkurl: 0.001
10:56:13.439 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.440 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2
> Given url link 0.000
> When method HEAD 0.329
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.002
10:56:13.773 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:13.775 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.207
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.984 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:13.984 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:13.985 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.985 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:13.986 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:13.986 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.931
Scenario Outline Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
tbjk534p-wubf-crbp-cj25-d4161160gfim <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'tbjk534p-wubf-crbp-cj25-d4161160gfim' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.718
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d4161160gfim' 0.013
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:13.657 [print] title:Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
* print title 0.000
10:56:13.657 [print] Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:13.658 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:13.659 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.022
* print nlinks 0.002
10:56:13.685 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "tbjk534p-wubf-crbp-cj25-d4161160gfim" 0.011
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.081
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:14.778 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim"
}
> * print "testing xlinkurl: 0.010
10:56:13.710 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:13.713 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim
> Given url link 0.000
> When method HEAD 0.329
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.000
10:56:14.044 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.045 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:14.247 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:14.247 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:14.248 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.248 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.528
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:14.778 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.471
Scenario Outline Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
af135cd8-d429-4fc7-b9e3-09e15217520d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'af135cd8-d429-4fc7-b9e3-09e15217520d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.734
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af135cd8-d429-4fc7-b9e3-09e15217520d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.002
10:56:14.727 [print] title:Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
* print title 0.000
10:56:14.728 [print] Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:14.729 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:14.731 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:14.734 [print] [
  "https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"
]
* def id = "af135cd8-d429-4fc7-b9e3-09e15217520d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.362
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:15.098 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"
}
> * print "testing xlinkurl: 0.001
10:56:14.739 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.739 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db
> Given url link 0.000
> When method HEAD 0.358
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:15.098 javax.net.ssl.SSLException: Connection reset, http call failed after 358 milliseconds for URL: https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db
10:56:15.098 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.777
Scenario Outline Vergunningen Mijnbouwwet onder INSPIRE
24de356e-ec4d-4a18-9903-6401d222b77c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '24de356e-ec4d-4a18-9903-6401d222b77c' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.767
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '24de356e-ec4d-4a18-9903-6401d222b77c' 0.022
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.003
10:56:14.830 [print] title:Vergunningen Mijnbouwwet onder INSPIRE
* print title 0.000
10:56:14.830 [print] Vergunningen Mijnbouwwet onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:14.832 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.004
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:14.838 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.003
10:56:14.846 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "24de356e-ec4d-4a18-9903-6401d222b77c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.482
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:16.330 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"
}
> * print "testing xlinkurl: 0.001
10:56:14.851 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.852 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024
> Given url link 0.000
> When method HEAD 0.280
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.133 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:15.134 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.135 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.136 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.207
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.344 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
10:56:15.344 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.347 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.347 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.620
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.969 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:15.969 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.970 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.970 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.359
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:16.330 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.128
Scenario Outline Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
a322184d-6285-4856-bb78-f450b30ffc0e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a322184d-6285-4856-bb78-f450b30ffc0e' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.867
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a322184d-6285-4856-bb78-f450b30ffc0e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:14.931 [print] title:Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
* print title 0.000
10:56:14.932 [print] Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
* def email = get response //electronicMailAddress/CharacterString 0.004
* print email 0.001
10:56:14.938 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.003
10:56:14.943 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.001
10:56:14.947 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7",
  "www.hydro.nl",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "a322184d-6285-4856-bb78-f450b30ffc0e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.620
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7}, {link=www.hydro.nl}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:15.570 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"
}
> * print "testing xlinkurl: 0.000
10:56:14.953 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:14.954 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7
> Given url link 0.000
> When method HEAD 0.289
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.244 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "www.hydro.nl"
}
> * print "testing xlinkurl: 0.001
10:56:15.244 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:15.246 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.246 [print] testing xlinkurl:www.hydro.nl
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:15.247 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: www.hydro.nl
10:56:15.247 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:15.248 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:15.250 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.250 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.319
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:15.570 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.268
Scenario Outline Blokindeling Nederlands Continentaal Plat
c2225e5d-b46f-4e38-8445-ab10fd40c0dc <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.002
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c2225e5d-b46f-4e38-8445-ab10fd40c0dc' 0.030
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.656
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c2225e5d-b46f-4e38-8445-ab10fd40c0dc' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:15.470 [print] title:Blokindeling Nederlands Continentaal Plat
* print title 0.000
10:56:15.470 [print] Blokindeling Nederlands Continentaal Plat
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:15.471 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:15.472 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:15.475 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"
]
* def id = "c2225e5d-b46f-4e38-8445-ab10fd40c0dc" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.787
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:16.264 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:15.480 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.481 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.306
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"
}
> * print "testing xlinkurl: 0.001
10:56:15.790 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.791 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc
> Given url link 0.000
> When method HEAD 0.472
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:16.264 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.878
Scenario Outline Vaarwegmarkeringen Nederland
be1b1514-8d1f-48e1-9624-fee9b784138b <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'be1b1514-8d1f-48e1-9624-fee9b784138b' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.700
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'be1b1514-8d1f-48e1-9624-fee9b784138b' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:15.525 [print] title:Vaarwegmarkeringen Nederland
* print title 0.000
10:56:15.526 [print] Vaarwegmarkeringen Nederland
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:15.527 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.002
10:56:15.531 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.002
10:56:15.539 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "be1b1514-8d1f-48e1-9624-fee9b784138b" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.580
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:16.122 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b"
}
> * print "testing xlinkurl: 0.001
10:56:15.545 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:15.546 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b
> Given url link 0.000
> When method HEAD 0.357
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.002
10:56:15.907 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:15.908 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:16.113 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
10:56:16.113 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:16.118 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:16.118 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:16.120 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:16.121 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.661
Scenario Outline Geluidkaart hoofdspoornet 2011 (Lnight)
3e57ce43-7707-43ed-a4b9-72b3a6d812f8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3e57ce43-7707-43ed-a4b9-72b3a6d812f8' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.633
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e57ce43-7707-43ed-a4b9-72b3a6d812f8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:15.738 [print] title:Geluidkaart hoofdspoornet 2011 (Lnight)
* print title 0.000
10:56:15.738 [print] Geluidkaart hoofdspoornet 2011 (Lnight)
* def email = get response //electronicMailAddress/CharacterString 0.019
* print email 0.000
10:56:15.758 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:15.760 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:15.761 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"
]
* def id = "3e57ce43-7707-43ed-a4b9-72b3a6d812f8" 0.012
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.494
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:16.269 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"
}
> * print "testing xlinkurl: 0.002
10:56:15.779 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
10:56:15.781 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8
> Given url link 0.000
> When method HEAD 0.485
> * def mystorage = Java.type('storage.DataStorage') 0.001
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:16.269 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.002
Scenario Outline Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
58e7dc38-a498-4852-b4ef-908f5baa9056 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '58e7dc38-a498-4852-b4ef-908f5baa9056' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.587
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58e7dc38-a498-4852-b4ef-908f5baa9056' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.004
10:56:15.936 [print] title:Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
* print title 0.000
10:56:15.937 [print] Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:15.939 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.009
10:56:15.950 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
10:56:15.954 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "58e7dc38-a498-4852-b4ef-908f5baa9056" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.201
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.155 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
10:56:15.967 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.011
10:56:15.979 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.367
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056"
}
> * print "testing xlinkurl: 0.001
10:56:16.349 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:16.351 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056
> Given url link 0.000
> When method HEAD 0.697
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:17.050 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.050 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.096
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:17.147 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.004
10:56:17.147 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:17.152 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.152 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.153 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:17.154 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.092
Scenario Outline Mosselzaadinvanginstallaties
a04afee4-47d5-45b7-b7a0-a6f86106af11 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a04afee4-47d5-45b7-b7a0-a6f86106af11' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.581
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a04afee4-47d5-45b7-b7a0-a6f86106af11' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:16.157 [print] title:Mosselzaadinvanginstallaties
* print title 0.000
10:56:16.157 [print] Mosselzaadinvanginstallaties
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:16.159 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "VR@minez.nl",
  "geodatabeheer.giscc@rvo.nl",
  "beheer@pdok.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.003
10:56:16.164 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:16.166 [print] [
  "http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "a04afee4-47d5-45b7-b7a0-a6f86106af11" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.250
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:17.419 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11"
}
> * print "testing xlinkurl: 0.000
10:56:16.174 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:16.174 [print] testing xlinkurl:http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11
> Given url link 0.000
> When method HEAD 0.245
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
10:56:16.421 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:16.421 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 0.996
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:17.419 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.319
Scenario Outline Kwaliteit van drinkwater in Nederland (2012)
32a21114-8694-40ce-ab76-9dcd885c7861 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '32a21114-8694-40ce-ab76-9dcd885c7861' 0.008
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.570
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32a21114-8694-40ce-ab76-9dcd885c7861' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:16.848 [print] title:Kwaliteit van drinkwater in Nederland (2012)
* print title 0.000
10:56:16.848 [print] Kwaliteit van drinkwater in Nederland (2012)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:16.849 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:16.851 [print] organisation: [
  "RIVM",
  ""
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:16.853 [print] [
  "https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"
]
* def id = "32a21114-8694-40ce-ab76-9dcd885c7861" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:17.221 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"
}
> * print "testing xlinkurl: 0.001
10:56:16.859 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:16.860 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:17.221 javax.net.ssl.SSLException: Connection reset, http call failed after 358 milliseconds for URL: https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5
10:56:17.221 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.764
Scenario Outline Luchtfoto 2018 25cm CIR open data
7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.671
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:17.007 [print] title:Luchtfoto 2018 25cm CIR open data
* print title 0.001
10:56:17.008 [print] Luchtfoto 2018 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:17.009 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:17.011 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:17.015 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b021",
  "",
  "",
  ""
]
* def id = "7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.045
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b021}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.063 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"
}
> * print "testing xlinkurl: 0.000
10:56:17.022 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.023 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b021
> Given url link 0.000
> When method HEAD 0.009
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:17.031 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 7 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b021
10:56:17.032 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:17.034 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:17.035 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.036 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.037 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:17.038 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.005
10:56:17.040 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.045 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.046 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.006
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.047 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:17.052 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:17.056 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.057 [print]
> * def link = __arg.link 0.002
> * print "testing xlinkurl:" + link 0.000
10:56:17.060 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:17.061 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:17.062 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.316
Scenario Outline Geluidkaart hoofdspoornet 2011 (Lden)
844404a2-9cd0-452e-b29a-74588777485a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '844404a2-9cd0-452e-b29a-74588777485a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.627
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.001
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '844404a2-9cd0-452e-b29a-74588777485a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:17.431 [print] title:Geluidkaart hoofdspoornet 2011 (Lden)
* print title 0.000
10:56:17.432 [print] Geluidkaart hoofdspoornet 2011 (Lden)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:17.433 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:17.435 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:17.437 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"
]
* def id = "844404a2-9cd0-452e-b29a-74588777485a" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.342
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:17.786 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"
}
> * print "testing xlinkurl: 0.000
10:56:17.451 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.451 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a
> Given url link 0.000
> When method HEAD 0.334
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:17.786 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.862
Scenario Outline Grondwater Monitoring Net
3a72b9a4-cda9-11ea-87d0-0242ac130003 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3a72b9a4-cda9-11ea-87d0-0242ac130003' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.562
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3a72b9a4-cda9-11ea-87d0-0242ac130003' 0.003
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:17.634 [print] title:Grondwater Monitoring Net
* print title 0.000
10:56:17.635 [print] Grondwater Monitoring Net
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:17.636 [print] [
  "info@bro.nl",
  "Info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:17.637 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.000
10:56:17.643 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "3a72b9a4-cda9-11ea-87d0-0242ac130003" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.646
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:18.291 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"
}
> * print "testing xlinkurl: 0.000
10:56:17.648 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.648 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003
> Given url link 0.000
> When method HEAD 0.294
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:17.954 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:17.954 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:17.955 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.955 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:18.291 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.668
Scenario Outline Netwerk van KNMI waarneemstations
380aa01e-dce7-11e3-9f07-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '380aa01e-dce7-11e3-9f07-901b0e19e163' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.776
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '380aa01e-dce7-11e3-9f07-901b0e19e163' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:17.941 [print] title:Netwerk van KNMI waarneemstations
* print title 0.000
10:56:17.941 [print] Netwerk van KNMI waarneemstations
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.004
10:56:17.948 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:17.949 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:17.951 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "380aa01e-dce7-11e3-9f07-901b0e19e163" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.441
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.394 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"
}
> * print "testing xlinkurl: 0.000
10:56:17.958 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:17.958 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb
> Given url link 0.000
> When method HEAD 0.327
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:18.287 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.007
10:56:18.287 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:18.297 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.297 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.095
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.394 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.411
Scenario Outline Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
5951efa2-1ff3-4763-a966-a2f5497679ee <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.003
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5951efa2-1ff3-4763-a966-a2f5497679ee' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.792
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5951efa2-1ff3-4763-a966-a2f5497679ee' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:18.021 [print] title:Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:18.021 [print] Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:18.022 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:18.023 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:18.025 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"
]
* def id = "5951efa2-1ff3-4763-a966-a2f5497679ee" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.306
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:18.332 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:18.030 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.030 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.293
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"
}
> * print "testing xlinkurl: 0.002
10:56:18.328 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.329 [print] testing xlinkurl:http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:18.331 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf
10:56:18.331 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.155
Scenario Outline Waterstanden en afvoeren verwacht - Rijkswaterstaat
25294679-adb9-4c39-a93b-6954ff9414ac <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '25294679-adb9-4c39-a93b-6954ff9414ac' 0.019
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.637
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25294679-adb9-4c39-a93b-6954ff9414ac' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:18.079 [print] title:Waterstanden en afvoeren verwacht - Rijkswaterstaat
* print title 0.000
10:56:18.079 [print] Waterstanden en afvoeren verwacht - Rijkswaterstaat
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:18.080 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:18.081 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:18.087 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "25294679-adb9-4c39-a93b-6954ff9414ac" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.745
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:18.837 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac"
}
> * print "testing xlinkurl: 0.003
10:56:18.097 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.097 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac
> Given url link 0.000
> When method HEAD 0.311
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
10:56:18.411 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.411 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.615 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.002
10:56:18.615 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.617 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.618 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.212
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.831 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:18.831 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.834 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.835 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:18.836 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:18.836 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.624
Scenario Outline Natuurbranden
88f76a94-ee4d-4e0c-9fde-91b692403e39 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '88f76a94-ee4d-4e0c-9fde-91b692403e39' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.665
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88f76a94-ee4d-4e0c-9fde-91b692403e39' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:18.136 [print] title:Natuurbranden
* print title 0.000
10:56:18.136 [print] Natuurbranden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.002
10:56:18.139 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:18.141 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:18.143 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "88f76a94-ee4d-4e0c-9fde-91b692403e39" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.974
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.121 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.003
10:56:18.152 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.152 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39"
}
> * print "testing xlinkurl: 0.000
10:56:18.450 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.450 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39
> Given url link 0.000
> When method HEAD 0.564
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:19.015 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.015 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.103
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.119 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:19.119 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.120 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.120 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.121 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:19.121 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.732
Scenario Outline Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
eu-cb527d-f6db-4835-b0cd-deb245241254 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-cb527d-f6db-4835-b0cd-deb245241254' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.558
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-cb527d-f6db-4835-b0cd-deb245241254' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:18.350 [print] title:Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
* print title 0.000
10:56:18.352 [print] Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:18.353 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "beheerPDOK@kadaster.nl",
  "",
  "beheerPDOK@kadaster.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:18.355 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Beheer PDOK",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:18.358 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "eu-cb527d-f6db-4835-b0cd-deb245241254" 0.006
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.580
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:19.948 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254"
}
> * print "testing xlinkurl: 0.000
10:56:18.370 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.371 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254
> Given url link 0.000
> When method HEAD 0.375
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
10:56:18.749 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.749 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.213
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.964 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"
}
> * print "testing xlinkurl: 0.000
10:56:18.964 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:18.965 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.965 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60
> Given url link 0.000
> When method HEAD 0.669
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.636 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:19.636 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.637 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.637 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.310
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:19.948 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.299
Scenario Outline Habitatrichtlijn verspreidingsgebied van habitattypen
03671a9e-6aaf-464d-be99-9aad25cef9e3 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '03671a9e-6aaf-464d-be99-9aad25cef9e3' 0.008
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.633
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03671a9e-6aaf-464d-be99-9aad25cef9e3' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:18.936 [print] title:Habitatrichtlijn verspreidingsgebied van habitattypen
* print title 0.000
10:56:18.936 [print] Habitatrichtlijn verspreidingsgebied van habitattypen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:18.937 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "",
  "GeoDesk.CGI@wur.nl",
  "geodatabeheer.giscc@rvo.nl",
  "beheerPDOK@kadaster.nl",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.004
* print 'organisation:', organisation 0.000
10:56:18.942 [print] organisation: [
  "Ministerie van Economische Zaken - GIS Competence Center",
  "",
  "Wageningen Environmental Research (Alterra)",
  "PDOK",
  "Alterra"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.028
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:18.971 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"
]
* def id = "03671a9e-6aaf-464d-be99-9aad25cef9e3" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.314
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.287 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"
}
> * print "testing xlinkurl: 0.002
10:56:18.986 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.986 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3
> Given url link 0.000
> When method HEAD 0.300
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.287 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.616
Scenario Outline Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
a7fb2234-f7b4-4a03-b282-f10947f42fb1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a7fb2234-f7b4-4a03-b282-f10947f42fb1' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.746
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7fb2234-f7b4-4a03-b282-f10947f42fb1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:19.089 [print] title:Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
* print title 0.000
10:56:19.089 [print] Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.024
10:56:19.113 [print] [
  "info@dinoloket.nl",
  "geodesk.cgi@wur.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:19.115 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "Alterra, Wageningen UR",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.012
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.000
10:56:19.132 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "a7fb2234-f7b4-4a03-b282-f10947f42fb1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.418
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/16}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:20.552 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"
}
> * print "testing xlinkurl: 0.000
10:56:19.148 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.149 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac
> Given url link 0.000
> When method HEAD 0.284
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.436 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"
}
> * print "testing xlinkurl: 0.000
10:56:19.436 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.438 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.439 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/16
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.644 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
10:56:19.644 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:19.645 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.645 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.591
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:20.237 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:20.237 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:20.239 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.239 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:20.552 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.851
Scenario Outline Vaarweg Informatie Nederland - bevaarbaarheid (VIN)
831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.504
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:18.904 [print] title:Vaarweg netwerk Nederland (VNDS) - bevaarbaarheidsinformatie
* print title 0.000
10:56:18.904 [print] Vaarweg netwerk Nederland (VNDS) - bevaarbaarheidsinformatie
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:18.906 [print] [
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl",
  "servicedesk-data@rws.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:18.908 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:18.910 [print] [
  "u",
  "r",
  "n",
  ":",
  "o",
  "g",
  "c",
  ":",
  "d",
  "e",
  "f",
  ":",
  "c",
  "r",
  "s",
  ":",
  "E",
  "P",
  "S",
  "G",
  ":",
  ":",
  "5",
  "7",
  "0",
  "9"
]
* def id = "831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.191
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=u}, {link=r}, {link=n}, {link=:}, {link=o}, {link=g}, {link=c}, {link=:}, {link=d}, {link=e}, {link=f}, {link=:}, {link=c}, {link=r}, {link=s}, {link=:}, {link=E}, {link=P}, {link=S}, {link=G}, {link=:}, {link=:}, {link=5}, {link=7}, {link=0}, {link=9}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"7"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"0"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.104 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.001
10:56:18.917 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.918 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.919 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:18.920 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.001
10:56:18.921 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.922 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.923 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.924 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:18.925 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
10:56:18.925 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.927 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.927 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.928 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:18.928 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:18.929 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.931 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
10:56:18.933 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.933 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:18.933 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.934 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.934 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.934 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:18.934 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
10:56:18.934 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.935 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.935 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.935 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:18.935 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
10:56:18.936 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.936 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.936 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.936 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:18.937 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:18.937 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.937 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.937 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.937 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
10:56:18.937 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.970 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.970 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.971 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:18.971 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.003
10:56:18.971 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.975 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.975 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.976 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:18.976 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
10:56:18.976 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.976 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.977 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.977 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
10:56:18.977 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.004
10:56:18.977 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.981 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.982 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.982 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.001
10:56:18.983 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.984 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.985 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.987 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:18.987 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.001
10:56:18.987 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.988 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.989 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.990 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:18.990 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.001
10:56:18.990 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.992 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.992 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.993 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:18.993 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.001
10:56:18.993 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.995 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.995 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.996 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "E"
}
> * print "testing xlinkurl: 0.001
10:56:18.996 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:18.998 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:18.998 [print] testing xlinkurl:E
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:18.999 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: E
10:56:18.999 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.001
10:56:18.999 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.001 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.002 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.003 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
10:56:19.003 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.001
10:56:19.003 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.005 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.006 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.007 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
10:56:19.007 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "G"
}
> * print "testing xlinkurl: 0.001
10:56:19.007 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.009 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.010 [print] testing xlinkurl:G
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.013 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: G
10:56:19.013 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.002
10:56:19.013 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.016 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.016 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:19.016 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:19.017 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:19.017 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.017 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:19.017 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "5"
}
> * print "testing xlinkurl: 0.000
10:56:19.018 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:19.018 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.019 [print] testing xlinkurl:5
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.020 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 5
10:56:19.020 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "7"
}
> * print "testing xlinkurl: 0.060
10:56:19.021 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.081 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:19.086 [print] testing xlinkurl:7
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.086 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 7
10:56:19.086 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "0"
}
> * print "testing xlinkurl: 0.015
10:56:19.087 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"7"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.102 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.102 [print] testing xlinkurl:0
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.103 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 0
10:56:19.103 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.000
10:56:19.103 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"0"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.104 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.104 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:19.104 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
10:56:19.104 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.673
Scenario Outline Zeegebieden
9d9f1738-aced-47c9-aaa0-c62474a2dcfb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9d9f1738-aced-47c9-aaa0-c62474a2dcfb' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.654
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9f1738-aced-47c9-aaa0-c62474a2dcfb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:19.497 [print] title:Zeegebieden
* print title 0.000
10:56:19.497 [print] Zeegebieden
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:19.499 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:19.501 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:19.504 [print] [
  "http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"
]
* def id = "9d9f1738-aced-47c9-aaa0-c62474a2dcfb" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.003
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:19.509 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"
}
> * print "testing xlinkurl: 0.000
10:56:19.508 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.508 [print] testing xlinkurl:http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:19.509 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e
10:56:19.509 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.146
Scenario Outline Adressen (INSPIRE geharmoniseerd)
a5f961e9-ebdd-41e2-b8e8-ab33ed340a83 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a5f961e9-ebdd-41e2-b8e8-ab33ed340a83' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.541
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5f961e9-ebdd-41e2-b8e8-ab33ed340a83' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:19.651 [print] title:Adressen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:19.651 [print] Adressen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:19.652 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:19.652 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:19.656 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"
]
* def id = "a5f961e9-ebdd-41e2-b8e8-ab33ed340a83" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.298
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:19.956 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:19.661 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.661 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.292
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"
}
> * print "testing xlinkurl: 0.000
10:56:19.955 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.955 [print] testing xlinkurl:http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:19.956 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94
10:56:19.956 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.401
Scenario Outline Gemeten Stikstofmonoxide concentraties in buitenlucht.
f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.646
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:19.788 [print] title:Gemeten Stikstofmonoxide concentraties in buitenlucht.
* print title 0.000
10:56:19.789 [print] Gemeten Stikstofmonoxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.008
10:56:19.798 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:19.800 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.008
10:56:19.810 [print] [
  "https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"
]
* def id = "f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:20.177 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"
}
> * print "testing xlinkurl: 0.001
10:56:19.815 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:19.816 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:20.176 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25
10:56:20.176 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.313
Scenario Outline Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
64c987ec-dce6-11e3-8563-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '64c987ec-dce6-11e3-8563-901b0e19e163' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.544
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '64c987ec-dce6-11e3-8563-901b0e19e163' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:20.065 [print] title:Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
* print title 0.000
10:56:20.065 [print] Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:20.067 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:20.068 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:20.072 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "64c987ec-dce6-11e3-8563-901b0e19e163" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.375
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:20.451 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"
}
> * print "testing xlinkurl: 0.000
10:56:20.078 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.079 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b
> Given url link 0.000
> When method HEAD 0.336
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:20.415 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:20.415 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:20.416 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.416 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:20.451 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.645
Scenario Outline RDinfo
29c17585-e702-463f-a5dc-99d34b17d333 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '29c17585-e702-463f-a5dc-99d34b17d333' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.602
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.003
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '29c17585-e702-463f-a5dc-99d34b17d333' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.002
10:56:20.564 [print] title:RDinfo
* print title 0.000
10:56:20.564 [print] RDinfo
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:20.565 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "rd@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:20.566 [print] organisation: [
  "Kadaster",
  "Dienst van Het Kadaster en Openbare Registers",
  "Dienst voor het Kadaster en de Openbare Registers"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.000
10:56:20.571 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"
]
* def id = "29c17585-e702-463f-a5dc-99d34b17d333" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.013
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:20.586 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"
}
> * print "testing xlinkurl: 0.000
10:56:20.578 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.578 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:20.586 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81
10:56:20.586 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.709
Scenario Outline Luchtvaartinformatie
73ec579e-c906-433a-b0b6-d3aa33421558 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '73ec579e-c906-433a-b0b6-d3aa33421558' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.430
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73ec579e-c906-433a-b0b6-d3aa33421558' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:20.392 [print] title:Luchtvaartinformatie
* print title 0.000
10:56:20.393 [print] Luchtvaartinformatie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:20.394 [print] [
  "AIS@LVNL.NL",
  "AIS@LVNL.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:20.396 [print] organisation: [
  "Luchtverkeersleiding Nederland (LVNL)",
  "Luchtverkeersleiding Nederland (LVNL)"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:20.398 [print] [
  "u",
  "r",
  "n",
  ":",
  "o",
  "g",
  "c",
  ":",
  "d",
  "e",
  "f",
  ":",
  "c",
  "r",
  "s",
  ":",
  "E",
  "P",
  "S",
  "G",
  ":",
  ":",
  "5",
  "6",
  "2",
  "1"
]
* def id = "73ec579e-c906-433a-b0b6-d3aa33421558" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.148
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=u}, {link=r}, {link=n}, {link=:}, {link=o}, {link=g}, {link=c}, {link=:}, {link=d}, {link=e}, {link=f}, {link=:}, {link=c}, {link=r}, {link=s}, {link=:}, {link=E}, {link=P}, {link=S}, {link=G}, {link=:}, {link=:}, {link=5}, {link=6}, {link=2}, {link=1}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"6"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"2"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.549 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
10:56:20.411 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.412 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.412 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:20.412 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:20.412 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.413 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.413 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.413 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:20.413 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.010
10:56:20.413 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.424 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.424 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.425 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:20.425 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:20.425 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.426 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.426 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.426 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
10:56:20.426 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.428 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.428 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.428 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:20.429 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.007
10:56:20.429 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.437 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.437 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.437 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:20.437 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
10:56:20.437 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.438 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.438 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.439 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:20.439 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:20.439 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.439 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.439 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.440 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
10:56:20.440 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.440 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.440 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.441 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:20.441 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.004
10:56:20.441 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.445 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.445 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.446 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:20.446 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
10:56:20.446 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.446 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.446 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.008
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.455 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
10:56:20.455 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:20.455 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.455 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.456 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.456 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.001
10:56:20.456 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.461 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.461 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.461 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:20.461 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:20.461 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.462 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.462 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.463 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:20.463 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:20.463 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.463 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.463 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.464 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:20.464 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:20.464 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.464 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.465 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.465 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "E"
}
> * print "testing xlinkurl: 0.000
10:56:20.465 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.465 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.465 [print] testing xlinkurl:E
> Given url link 0.000
> When method HEAD 0.021
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.486 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: E
10:56:20.487 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.003
10:56:20.487 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.491 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:20.492 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.495 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
10:56:20.495 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.003
10:56:20.496 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.500 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.501 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.012
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.509 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
10:56:20.513 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "G"
}
> * print "testing xlinkurl: 0.001
10:56:20.513 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.515 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.515 [print] testing xlinkurl:G
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.516 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: G
10:56:20.516 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:20.520 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.523 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.523 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.523 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.002
10:56:20.523 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.526 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.527 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.528 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "5"
}
> * print "testing xlinkurl: 0.002
10:56:20.528 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:20.531 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.532 [print] testing xlinkurl:5
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.532 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 5
10:56:20.532 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "6"
}
> * print "testing xlinkurl: 0.001
10:56:20.532 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.534 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.535 [print] testing xlinkurl:6
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.537 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 6
10:56:20.537 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "2"
}
> * print "testing xlinkurl: 0.003
10:56:20.538 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"6"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.541 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:20.542 [print] testing xlinkurl:2
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.543 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 2
10:56:20.543 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.002
10:56:20.543 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"2"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.545 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:20.547 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:20.548 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
10:56:20.549 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.592
Scenario Outline Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
2cc2c30c-91b8-412a-a060-e84d25272581 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2cc2c30c-91b8-412a-a060-e84d25272581' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.850
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2cc2c30c-91b8-412a-a060-e84d25272581' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:21.033 [print] title:Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
* print title 0.000
10:56:21.033 [print] Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:21.035 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:21.036 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:21.039 [print] [
  "https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"
]
* def id = "2cc2c30c-91b8-412a-a060-e84d25272581" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.366
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:21.407 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"
}
> * print "testing xlinkurl: 0.000
10:56:21.044 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:21.044 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b
> Given url link 0.000
> When method HEAD 0.362
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:21.407 javax.net.ssl.SSLException: Connection reset, http call failed after 362 milliseconds for URL: https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b
10:56:21.407 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.497
Scenario Outline Zeegebieden (INSPIRE geharmoniseerd)
791adbe3-772f-42cb-a3be-5a617bcecef0 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '791adbe3-772f-42cb-a3be-5a617bcecef0' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.883
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '791adbe3-772f-42cb-a3be-5a617bcecef0' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:21.344 [print] title:Zeegebieden (INSPIRE geharmoniseerd)
* print title 0.000
10:56:21.344 [print] Zeegebieden (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:21.346 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:21.348 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:21.351 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"
]
* def id = "791adbe3-772f-42cb-a3be-5a617bcecef0" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.303
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:21.657 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:21.356 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:21.357 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"
}
> * print "testing xlinkurl: 0.000
10:56:21.656 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:21.656 [print] testing xlinkurl:http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:21.657 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3
10:56:21.657 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.784
Scenario Outline Gemeten Zwaveldioxide concentraties in buitenlucht.
500d396f-5ec6-4e4b-a151-5fb3cddd8082 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.010
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '500d396f-5ec6-4e4b-a151-5fb3cddd8082' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 1.015
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '500d396f-5ec6-4e4b-a151-5fb3cddd8082' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:21.578 [print] title:Gemeten Zwaveldioxide concentraties in buitenlucht.
* print title 0.000
10:56:21.579 [print] Gemeten Zwaveldioxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:21.580 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:21.582 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.008
10:56:21.592 [print] [
  "https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"
]
* def id = "500d396f-5ec6-4e4b-a151-5fb3cddd8082" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.372
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:21.966 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"
}
> * print "testing xlinkurl: 0.007
10:56:21.603 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
10:56:21.603 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:21.966 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b
10:56:21.966 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.671
Scenario Outline Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
14657c9b-91e4-4355-8563-2911ad0e78e4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '14657c9b-91e4-4355-8563-2911ad0e78e4' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.995
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '14657c9b-91e4-4355-8563-2911ad0e78e4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:21.560 [print] title:Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
* print title 0.001
10:56:21.562 [print] Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:21.564 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.004
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:21.569 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:21.572 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"
]
* def id = "14657c9b-91e4-4355-8563-2911ad0e78e4" 0.017
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.323
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:21.913 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.006
10:56:21.603 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:21.604 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.300
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"
}
> * print "testing xlinkurl: 0.004
10:56:21.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:21.911 [print] testing xlinkurl:http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:21.913 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66
10:56:21.913 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.907
Scenario Outline Bronbestanden waterkwaliteit
edf79e6a-d73d-4def-8d22-0f495cc76a73 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.008
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.891
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:21.489 [print] title:Bronbestanden waterkwaliteit
* print title 0.000
10:56:21.490 [print] Bronbestanden waterkwaliteit
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:21.492 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:21.493 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:47 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
* def id = "edf79e6a-d73d-4def-8d22-0f495cc76a73" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
1.838
Scenario Outline Bathymetrie Nederland - binnenwateren
adn73c4a-ef03-4785-b7f6-942e86b385f7 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'adn73c4a-ef03-4785-b7f6-942e86b385f7' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.594
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn73c4a-ef03-4785-b7f6-942e86b385f7' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:22.008 [print] title:Bathymetrie Nederland - binnenwateren
* print title 0.000
10:56:22.008 [print] Bathymetrie Nederland - binnenwateren
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:22.009 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:22.010 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:22.012 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "adn73c4a-ef03-4785-b7f6-942e86b385f7" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.619
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:22.631 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7"
}
> * print "testing xlinkurl: 0.000
10:56:22.016 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.016 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7
> Given url link 0.000
> When method HEAD 0.402
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
10:56:22.420 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.420 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.001
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.623 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
10:56:22.624 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.627 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.628 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:22.629 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:22.630 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.417
Scenario Outline Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
6050578f-0010-4bfa-b013-c8617b80ba62 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.002
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.003
And param request = 'GetRecordById' 0.000
And param id = '6050578f-0010-4bfa-b013-c8617b80ba62' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.528
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6050578f-0010-4bfa-b013-c8617b80ba62' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:22.033 [print] title:Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
* print title 0.000
10:56:22.034 [print] Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:22.035 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:22.037 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:22.039 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "6050578f-0010-4bfa-b013-c8617b80ba62" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.938
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:22.981 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"
}
> * print "testing xlinkurl: 0.000
10:56:22.045 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.046 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218
> Given url link 0.000
> When method HEAD 0.321
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.368 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:22.369 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.370 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.370 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.610
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:22.981 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.738
Scenario Outline Aardbevingen Nederland (KNMI)
b59f06c0-dce5-11e3-9c10-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b59f06c0-dce5-11e3-9c10-901b0e19e163' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.657
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b59f06c0-dce5-11e3-9c10-901b0e19e163' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:22.321 [print] title:Aardbevingen Nederland (KNMI)
* print title 0.001
10:56:22.322 [print] Aardbevingen Nederland (KNMI)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:22.323 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:22.324 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:22.326 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "b59f06c0-dce5-11e3-9c10-901b0e19e163" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.536
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.864 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"
}
> * print "testing xlinkurl: 0.000
10:56:22.331 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.331 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4
> Given url link 0.000
> When method HEAD 0.471
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:22.803 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:22.803 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:22.804 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.804 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.057
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.862 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.373
Scenario Outline Ziekenhuizen in Nederland (september 2013)
d9baa847-4652-4588-abe1-0b050f40f27f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd9baa847-4652-4588-abe1-0b050f40f27f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.639
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd9baa847-4652-4588-abe1-0b050f40f27f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:22.458 [print] title:Ziekenhuizen in Nederland (september 2013)
* print title 0.000
10:56:22.458 [print] Ziekenhuizen in Nederland (september 2013)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:22.462 [print] [
  "atlas@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:22.464 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:22.466 [print] [
  "https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"
]
* def id = "d9baa847-4652-4588-abe1-0b050f40f27f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.367
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:22.837 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"
}
> * print "testing xlinkurl: 0.000
10:56:22.473 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.479 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:22.837 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e
10:56:22.837 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.588
Scenario Outline zoutvelden en zoutproductieputten onder INSPIRE
e3b0da1e-0664-4025-b3f5-a54d74a26450 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e3b0da1e-0664-4025-b3f5-a54d74a26450' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.673
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e3b0da1e-0664-4025-b3f5-a54d74a26450' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:22.590 [print] title:zoutvelden en zoutproductieputten onder INSPIRE
* print title 0.000
10:56:22.591 [print] zoutvelden en zoutproductieputten onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:22.592 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:22.594 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:22.597 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/34",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "e3b0da1e-0664-4025-b3f5-a54d74a26450" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.456
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/34}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:24.059 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"
}
> * print "testing xlinkurl: 0.000
10:56:22.605 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.607 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.916 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"
}
> * print "testing xlinkurl: 0.000
10:56:22.916 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:22.917 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.918 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/34
> Given url link 0.000
> When method HEAD 0.205
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.123 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
10:56:23.123 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.124 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.124 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.593
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.719 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:23.719 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.720 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.720 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.338
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:24.059 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.317
Scenario Outline Geluidkaart hoofdspoornet 2016 (Lnight)
002d9127-c16d-4b8d-9f5e-102a8c8e36c4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '002d9127-c16d-4b8d-9f5e-102a8c8e36c4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.715
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '002d9127-c16d-4b8d-9f5e-102a8c8e36c4' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:22.686 [print] title:Geluidkaart hoofdspoornet 2016 (Lnight)
* print title 0.001
10:56:22.687 [print] Geluidkaart hoofdspoornet 2016 (Lnight)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.001
10:56:22.689 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:22.692 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:22.694 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"
]
* def id = "002d9127-c16d-4b8d-9f5e-102a8c8e36c4" 0.010
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.291
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
10:56:22.997 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"
}
> * print "testing xlinkurl: 0.000
10:56:22.708 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:22.709 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4
> Given url link 0.000
> When method HEAD 0.286
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
10:56:22.997 assertion failed: path: $, actual: 400, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.668
Scenario Outline Bodemkundig boormonsterprofiel onder INSPIRE
9dd9bf30-36e6-45ae-b368-bdef2720bdde <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9dd9bf30-36e6-45ae-b368-bdef2720bdde' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.710
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9dd9bf30-36e6-45ae-b368-bdef2720bdde' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:23.351 [print] title:Bodemkundig boormonsterprofiel onder INSPIRE
* print title 0.001
10:56:23.352 [print] Bodemkundig boormonsterprofiel onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:23.354 [print] [
  "info@dinoloket.nl",
  "geodesk.cgi@wur.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:23.356 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "Alterra, Wageningen UR",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.006
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
10:56:23.366 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "9dd9bf30-36e6-45ae-b368-bdef2720bdde" 0.005
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.467
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/16}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:24.839 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"
}
> * print "testing xlinkurl: 0.008
10:56:23.382 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:23.386 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.694 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"
}
> * print "testing xlinkurl: 0.000
10:56:23.694 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.695 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.695 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/16
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.896 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
10:56:23.896 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:23.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.898 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.590
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:24.489 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
10:56:24.489 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:24.490 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.490 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.348
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:24.839 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.683
Scenario Outline Geografische Namen (INSPIRE geharmoniseerd)
1a40eb6f-4f33-4e15-a0b1-2d350ad2636e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1a40eb6f-4f33-4e15-a0b1-2d350ad2636e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.661
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a40eb6f-4f33-4e15-a0b1-2d350ad2636e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:23.505 [print] title:Geografische Namen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:23.505 [print] Geografische Namen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:23.507 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:23.510 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:23.513 [print] [
  "http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"
]
* def id = "1a40eb6f-4f33-4e15-a0b1-2d350ad2636e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.004
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:23.519 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"
}
> * print "testing xlinkurl: 0.000
10:56:23.517 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.517 [print] testing xlinkurl:http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:23.518 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e
10:56:23.519 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.480
Scenario Outline Invasieve Exoten (INSPIRE Geharmoniseerd)
3703b249-a0eb-484e-ba7a-10e31a55bcec <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3703b249-a0eb-484e-ba7a-10e31a55bcec' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.812
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3703b249-a0eb-484e-ba7a-10e31a55bcec' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
10:56:23.684 [print] title:Invasieve Exoten (INSPIRE Geharmoniseerd)
* print title 0.000
10:56:23.685 [print] Invasieve Exoten (INSPIRE Geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:23.686 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "Geodatabeheer.GISCC@rvo.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:23.687 [print] organisation: Ministerie van Landbouw, Natuur en Voedselkwaliteit
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:23.689 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec",
  "579"
]
* def id = "3703b249-a0eb-484e-ba7a-10e31a55bcec" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.329
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec}, {link=579}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"579"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.019 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"579"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"
}
> * print "testing xlinkurl: 0.004
10:56:23.697 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.698 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec
> Given url link 0.000
> When method HEAD 0.318
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:24.017 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "579"
}
> * print "testing xlinkurl: 0.000
10:56:24.017 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:24.019 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.019 [print] testing xlinkurl:579
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.019 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 579
10:56:24.019 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.931
Scenario Outline Luchtfoto 2018 25cm RGB open data
5b274449-b6c2-4672-a32f-e0bd40975a53 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5b274449-b6c2-4672-a32f-e0bd40975a53' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.901
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b274449-b6c2-4672-a32f-e0bd40975a53' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
10:56:23.907 [print] title:Luchtfoto 2018 25cm RGB open data
* print title 0.000
10:56:23.907 [print] Luchtfoto 2018 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:23.908 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:23.910 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:23.912 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b020",
  "",
  "",
  ""
]
* def id = "5b274449-b6c2-4672-a32f-e0bd40975a53" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.010
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b020}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:23.924 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"
}
> * print "testing xlinkurl: 0.000
10:56:23.917 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.917 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b020
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:23.919 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b020
10:56:23.919 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:23.919 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:23.919 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.920 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:23.920 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:23.920 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:23.920 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:23.921 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.921 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:23.922 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:23.922 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:23.922 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:23.923 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:23.923 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:23.924 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:23.924 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.649
Scenario Outline Administratieve Eenheden
c5c4a6d6-b850-473c-8ab5-af9c2c550809 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c5c4a6d6-b850-473c-8ab5-af9c2c550809' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.602
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c5c4a6d6-b850-473c-8ab5-af9c2c550809' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:24.132 [print] title:Administratieve Eenheden
* print title 0.000
10:56:24.133 [print] Administratieve Eenheden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:24.133 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:24.135 [print] organisation: [
  "Kadaster",
  "Kadaster en Openbare Registers",
  "Kadaster en de Openbare Registers"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.005
10:56:24.142 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"
]
* def id = "c5c4a6d6-b850-473c-8ab5-af9c2c550809" 0.012
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.008
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:24.163 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"
}
> * print "testing xlinkurl: 0.005
10:56:24.162 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.162 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:24.163 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76
10:56:24.163 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.748
Scenario Outline TOP10NL
29d5310f-dd0d-45ba-abad-b4ffc6b8785f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '29d5310f-dd0d-45ba-abad-b4ffc6b8785f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.683
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '29d5310f-dd0d-45ba-abad-b4ffc6b8785f' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:24.612 [print] title:TOP10NL
* print title 0.000
10:56:24.612 [print] TOP10NL
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:24.613 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:24.615 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:24.620 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b201",
  "",
  "",
  "",
  "",
  ""
]
* def id = "29d5310f-dd0d-45ba-abad-b4ffc6b8785f" 0.005
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.027
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b201}, {link=}, {link=}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.653 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"
}
> * print "testing xlinkurl: 0.000
10:56:24.632 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.632 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b201
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:24.633 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b201
10:56:24.633 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:24.633 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:24.634 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.634 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.634 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:24.634 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.011
10:56:24.634 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.646 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.646 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.646 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:24.646 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.003
10:56:24.647 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.650 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.650 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.651 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:24.651 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:24.651 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.652 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.652 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.652 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:24.652 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:24.652 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.653 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.653 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:24.653 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:24.653 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.541
Scenario Outline Statistical Units Grid
db8d613f-5edc-4467-9cc0-e2dcfb9d64a8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'db8d613f-5edc-4467-9cc0-e2dcfb9d64a8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.624
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db8d613f-5edc-4467-9cc0-e2dcfb9d64a8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:24.688 [print] title:Statistical Units Grid
* print title 0.000
10:56:24.688 [print] Statistical Units Grid
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:24.688 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:24.689 [print] organisation: [
  "Statistics Netherlands",
  "Statistics Netherlands",
  "Statistics Netherlandds",
  "Statistics Netherlands"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:24.693 [print] [
  "https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs",
  ""
]
* def id = "db8d613f-5edc-4467-9cc0-e2dcfb9d64a8" 0.012
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.449
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.154 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"
}
> * print "testing xlinkurl: 0.000
10:56:24.707 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.707 [print] testing xlinkurl:https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs
> Given url link 0.000
> When method HEAD 0.444
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
10:56:25.152 assertion failed: path: $, actual: 400, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:25.152 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
10:56:25.153 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.154 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.154 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:25.154 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.241
Scenario Outline Geluidkaart Schiphol 2016 (Lnight)
58d39928-f502-48c9-a8c1-03244dc181bf <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '58d39928-f502-48c9-a8c1-03244dc181bf' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.585
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58d39928-f502-48c9-a8c1-03244dc181bf' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:24.817 [print] title:Geluidkaart Schiphol 2016 (Lnight)
* print title 0.000
10:56:24.817 [print] Geluidkaart Schiphol 2016 (Lnight)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:24.818 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:24.820 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:24.821 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"
]
* def id = "58d39928-f502-48c9-a8c1-03244dc181bf" 0.012
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.324
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:25.159 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"
}
> * print "testing xlinkurl: 0.000
10:56:24.847 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:24.848 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf
> Given url link 0.000
> When method HEAD 0.308
> * def mystorage = Java.type('storage.DataStorage') 0.002
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:25.159 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.305
Scenario Outline Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
3a7dd0a6-d130-4c4c-b0ba-24365cf036e2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3a7dd0a6-d130-4c4c-b0ba-24365cf036e2' 0.013
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.574
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3a7dd0a6-d130-4c4c-b0ba-24365cf036e2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:25.246 [print] title:Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
* print title 0.000
10:56:25.246 [print] Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
10:56:25.248 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:25.249 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
10:56:25.255 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"
]
* def id = "3a7dd0a6-d130-4c4c-b0ba-24365cf036e2" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.353
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:25.610 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:25.259 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.260 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.347
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"
}
> * print "testing xlinkurl: 0.000
10:56:25.609 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.609 [print] testing xlinkurl:http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:25.610 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526
10:56:25.610 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.305
Scenario Outline Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
588a4cb1-b442-4ac1-87e4-40401e353166 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '588a4cb1-b442-4ac1-87e4-40401e353166' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.561
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '588a4cb1-b442-4ac1-87e4-40401e353166' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:25.404 [print] title:Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
* print title 0.000
10:56:25.404 [print] Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:25.404 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:25.407 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:25.409 [print] [
  "https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"
]
* def id = "588a4cb1-b442-4ac1-87e4-40401e353166" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.369
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:25.781 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"
}
> * print "testing xlinkurl: 0.000
10:56:25.415 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.415 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754
> Given url link 0.000
> When method HEAD 0.364
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:25.781 javax.net.ssl.SSLException: Connection reset, http call failed after 365 milliseconds for URL: https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754
10:56:25.781 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.664
Scenario Outline Luchtfoto 2017 25cm CIR open data
7c24ea89-074e-4c4f-91e3-d38e813e9cb6 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7c24ea89-074e-4c4f-91e3-d38e813e9cb6' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.637
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c24ea89-074e-4c4f-91e3-d38e813e9cb6' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:25.671 [print] title:Luchtfoto 2017 25cm CIR open data
* print title 0.000
10:56:25.672 [print] Luchtfoto 2017 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:25.673 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:25.675 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:25.677 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b018",
  "",
  "",
  ""
]
* def id = "7c24ea89-074e-4c4f-91e3-d38e813e9cb6" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.010
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b018}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.689 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"
}
> * print "testing xlinkurl: 0.000
10:56:25.681 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.681 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b018
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:25.683 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b018
10:56:25.683 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:25.683 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:25.685 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.685 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.686 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:25.686 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:25.686 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.687 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.687 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.687 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:25.687 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:25.687 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.688 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.688 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:25.688 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:25.689 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.436
Scenario Outline Gemeten Ozon concentraties in buitenlucht.
d8f370e8-123c-4ab3-9410-04f728327ac6 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd8f370e8-123c-4ab3-9410-04f728327ac6' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.690
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd8f370e8-123c-4ab3-9410-04f728327ac6' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:25.773 [print] title:Gemeten Ozon concentraties in buitenlucht.
* print title 0.000
10:56:25.773 [print] Gemeten Ozon concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:25.774 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:25.775 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:25.778 [print] [
  "https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"
]
* def id = "d8f370e8-123c-4ab3-9410-04f728327ac6" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.372
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.152 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"
}
> * print "testing xlinkurl: 0.001
10:56:25.789 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.790 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.150 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078
10:56:26.151 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.390
Scenario Outline Monitoring stations (Nitraatrichtlijn) ondiepe filters
b3f66964-a8c1-456f-9799-9cafca2cb7b1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b3f66964-a8c1-456f-9799-9cafca2cb7b1' 0.007
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.649
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b3f66964-a8c1-456f-9799-9cafca2cb7b1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:25.814 [print] title:Monitoring stations (Nitraatrichtlijn) ondiepe filters
* print title 0.000
10:56:25.815 [print] Monitoring stations (Nitraatrichtlijn) ondiepe filters
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:25.817 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:25.818 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:25.821 [print] [
  "https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"
]
* def id = "b3f66964-a8c1-456f-9799-9cafca2cb7b1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.362
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.185 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"
}
> * print "testing xlinkurl: 0.000
10:56:25.825 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.826 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b
> Given url link 0.000
> When method HEAD 0.358
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.185 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b
10:56:26.185 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.157
Scenario Outline -Gegevens boormonsterprofiel onder PDOK
c7662717-9e43-4367-a344-723d73abbb3e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c7662717-9e43-4367-a344-723d73abbb3e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.581
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7662717-9e43-4367-a344-723d73abbb3e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:25.744 [print] title:-Gegevens boormonsterprofiel onder PDOK
* print title 0.000
10:56:25.744 [print] -Gegevens boormonsterprofiel onder PDOK
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:25.745 [print] [
  "info@dinoloket",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:25.746 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:25.747 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"
]
* def id = "c7662717-9e43-4367-a344-723d73abbb3e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.286
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:26.035 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"
}
> * print "testing xlinkurl: 0.000
10:56:25.752 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:25.752 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e
> Given url link 0.000
> When method HEAD 0.280
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:26.033 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.289
Scenario Outline Emissies naar het riool in 2011 vanuit de industrie
8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.544
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:26.158 [print] title:Emissies naar het riool in 2011 vanuit de industrie
* print title 0.000
10:56:26.158 [print] Emissies naar het riool in 2011 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:26.159 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.005
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.004
10:56:26.169 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:26.171 [print] [
  "https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"
]
* def id = "8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.539 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"
}
> * print "testing xlinkurl: 0.001
10:56:26.179 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.179 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313
> Given url link 0.000
> When method HEAD 0.359
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.538 javax.net.ssl.SSLException: Connection reset, http call failed after 358 milliseconds for URL: https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313
10:56:26.538 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.203
Scenario Outline Administratieve Eenheden (INSPIRE geharmoniseerd)
7dd1fd45-ace5-41e0-93a6-64e3be231717 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7dd1fd45-ace5-41e0-93a6-64e3be231717' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.578
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dd1fd45-ace5-41e0-93a6-64e3be231717' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.003
10:56:26.279 [print] title:Administratieve Eenheden (INSPIRE geharmoniseerd)
* print title 0.000
10:56:26.279 [print] Administratieve Eenheden (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:26.281 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:26.281 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:26.284 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"
]
* def id = "7dd1fd45-ace5-41e0-93a6-64e3be231717" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.304
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:26.590 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:26.288 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:26.290 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.296
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"
}
> * print "testing xlinkurl: 0.000
10:56:26.588 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.588 [print] testing xlinkurl:http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:26.590 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1
10:56:26.590 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.853
Scenario Outline Gebieden in de territoriale zee
4617f0e0-6af4-4ac0-9044-31df9d03071c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4617f0e0-6af4-4ac0-9044-31df9d03071c' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.556
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4617f0e0-6af4-4ac0-9044-31df9d03071c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:26.344 [print] title:Gebieden in de territoriale zee
* print title 0.000
10:56:26.344 [print] Gebieden in de territoriale zee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:26.346 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:26.347 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:26.349 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"
]
* def id = "4617f0e0-6af4-4ac0-9044-31df9d03071c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.643
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:26.994 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:26.354 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.354 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.293
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"
}
> * print "testing xlinkurl: 0.000
10:56:26.650 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.650 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c
> Given url link 0.000
> When method HEAD 0.343
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:26.994 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.250
Scenario Outline Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
08b27bf0-e34a-4b30-9eac-5edadfb6a288 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '08b27bf0-e34a-4b30-9eac-5edadfb6a288' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.522
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '08b27bf0-e34a-4b30-9eac-5edadfb6a288' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:26.562 [print] title:Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
* print title 0.000
10:56:26.562 [print] Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:26.563 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:26.564 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:26.566 [print] [
  "https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"
]
* def id = "08b27bf0-e34a-4b30-9eac-5edadfb6a288" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.360
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.929 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"
}
> * print "testing xlinkurl: 0.000
10:56:26.572 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.572 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804
> Given url link 0.000
> When method HEAD 0.356
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:26.929 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804
10:56:26.929 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.812
Scenario Outline Nederlands deel PSSA Waddenzee
f1d27179-36eb-4376-8048-f51d2eb23a09 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f1d27179-36eb-4376-8048-f51d2eb23a09' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.558
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1d27179-36eb-4376-8048-f51d2eb23a09' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:26.715 [print] title:Nederlands deel PSSA Waddenzee
* print title 0.000
10:56:26.715 [print] Nederlands deel PSSA Waddenzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:26.716 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:26.718 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:26.720 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"
]
* def id = "f1d27179-36eb-4376-8048-f51d2eb23a09" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.623
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:27.345 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:26.724 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.724 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.004
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"
}
> * print "testing xlinkurl: 0.002
10:56:27.029 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.029 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:27.344 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.607
Scenario Outline Luchtfoto 2019 25cm CIR open data
9ed6b8ed-254a-4745-a09a-3b57137d1b69 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9ed6b8ed-254a-4745-a09a-3b57137d1b69' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.569
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ed6b8ed-254a-4745-a09a-3b57137d1b69' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:26.760 [print] title:Luchtfoto 2019 25cm CIR open data
* print title 0.000
10:56:26.760 [print] Luchtfoto 2019 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:26.761 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:26.763 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Geocart",
  "Geocart",
  "Geocart",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:26.765 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b024",
  "",
  "",
  ""
]
* def id = "9ed6b8ed-254a-4745-a09a-3b57137d1b69" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.014
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b024}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:26.782 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"
}
> * print "testing xlinkurl: 0.000
10:56:26.770 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.771 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b024
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:26.772 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b024
10:56:26.772 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:26.772 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:26.773 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.773 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:26.774 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:26.774 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:26.774 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:26.776 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:26.776 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:26.777 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:26.777 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:26.777 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:26.777 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:26.782 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:26.782 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:26.782 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.398
Scenario Outline Kadastrale kaart v4
a29917b9-3426-4041-a11b-69bcb2256904 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a29917b9-3426-4041-a11b-69bcb2256904' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.413
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a29917b9-3426-4041-a11b-69bcb2256904' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:26.957 [print] title:Kadastrale kaart v4
* print title 0.000
10:56:26.957 [print] Kadastrale kaart v4
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:26.959 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.037
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.001
* print 'organisation:', organisation 0.000
10:56:26.998 [print] organisation: [
  "Kadaster",
  "Kadaster en Openbare Registers",
  "Dienst voor het Kadaster en de Openbare Registers"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:27.000 [print] [
  "h",
  "t",
  "t",
  "p",
  "s",
  ":",
  "/",
  "/",
  "w",
  "w",
  "w",
  ".",
  "n",
  "a",
  "t",
  "i",
  "o",
  "n",
  "a",
  "a",
  "l",
  "g",
  "e",
  "o",
  "r",
  "e",
  "g",
  "i",
  "s",
  "t",
  "e",
  "r",
  ".",
  "n",
  "l",
  ":",
  "4",
  "4",
  "3",
  "/",
  "g",
  "e",
  "o",
  "n",
  "e",
  "t",
  "w",
  "o",
  "r",
  "k",
  "/",
  "s",
  "r",
  "v",
  "/",
  "e",
  "n",
  "g",
  "/",
  "t",
  "h",
  "e",
  "s",
  "a",
  "u",
  "r",
  "u",
  "s",
  ".",
  "d",
  "o",
  "w",
  "n",
  "l",
  "o",
  "a",
  "d",
  "?",
  "r",
  "e",
  "f",
  "=",
  "e",
  "x",
  "t",
  "e",
  "r",
  "n",
  "a",
  "l",
  ".",
  "t",
  "h",
  "e",
  "m",
  "e",
  ".",
  "h",
  "t",
  "t",
  "p",
  "i",
  "n",
  "s",
  "p",
  "i",
  "r",
  "e",
  "e",
  "c",
  "e",
  "u",
  "r",
  "o",
  "p",
  "a",
  "e",
  "u",
  "t",
  "h",
  "e",
  "m",
  "e",
  "-",
  "t",
  "h",
  "e",
  "m",
  "e"
]
* def id = "a29917b9-3426-4041-a11b-69bcb2256904" 0.007
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.506
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=h}, {link=t}, {link=t}, {link=p}, {link=s}, {link=:}, {link=/}, {link=/}, {link=w}, {link=w}, {link=w}, {link=.}, {link=n}, {link=a}, {link=t}, {link=i}, {link=o}, {link=n}, {link=a}, {link=a}, {link=l}, {link=g}, {link=e}, {link=o}, {link=r}, {link=e}, {link=g}, {link=i}, {link=s}, {link=t}, {link=e}, {link=r}, {link=.}, {link=n}, {link=l}, {link=:}, {link=4}, {link=4}, {link=3}, {link=/}, {link=g}, {link=e}, {link=o}, {link=n}, {link=e}, {link=t}, {link=w}, {link=o}, {link=r}, {link=k}, {link=/}, {link=s}, {link=r}, {link=v}, {link=/}, {link=e}, {link=n}, {link=g}, {link=/}, {link=t}, {link=h}, {link=e}, {link=s}, {link=a}, {link=u}, {link=r}, {link=u}, {link=s}, {link=.}, {link=d}, {link=o}, {link=w}, {link=n}, {link=l}, {link=o}, {link=a}, {link=d}, {link=?}, {link=r}, {link=e}, {link=f}, {link==}, {link=e}, {link=x}, {link=t}, {link=e}, {link=r}, {link=n}, {link=a}, {link=l}, {link=.}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}, {link=.}, {link=h}, {link=t}, {link=t}, {link=p}, {link=i}, {link=n}, {link=s}, {link=p}, {link=i}, {link=r}, {link=e}, {link=e}, {link=c}, {link=e}, {link=u}, {link=r}, {link=o}, {link=p}, {link=a}, {link=e}, {link=u}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}, {link=-}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"k"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"?"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"="}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 101
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 102
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 103
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 104
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 105
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 106
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 107
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 108
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 109
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 110
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 111
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 112
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 113
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 114
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 115
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 116
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 117
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 118
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 119
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 120
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 121
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 122
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 123
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"-"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 124
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 125
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 126
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 127
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 128
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.508 feature call (loop) failed at index: 128
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.003
10:56:27.012 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.014 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.006
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.014 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:27.020 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
10:56:27.020 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.022 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.022 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.022 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.023 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.023 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.024 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.024 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.024 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.024 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
10:56:27.024 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.025 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.025 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.025 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
10:56:27.025 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.004
10:56:27.025 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.030 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.030 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.031 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:27.031 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
10:56:27.031 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.032 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.032 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:27.032 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.002
10:56:27.032 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:27.035 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.035 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.036 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:27.036 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
10:56:27.036 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.037 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.037 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.037 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:27.037 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.004
10:56:27.037 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.042 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.042 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.046 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
10:56:27.046 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
10:56:27.049 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.050 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.050 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.051 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
10:56:27.051 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
10:56:27.051 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.052 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.052 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.052 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
10:56:27.052 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.001
10:56:27.052 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.054 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.006
10:56:27.062 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.065 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:27.065 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.002
10:56:27.065 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.069 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.071 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.072 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.012
10:56:27.072 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.086 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.087 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.087 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:27.087 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.088 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.089 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.089 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.090 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.090 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
10:56:27.090 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.091 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.092 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.092 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:27.092 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:27.093 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.095 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.096 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.097 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:27.097 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.008
10:56:27.099 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.108 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.108 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.109 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.109 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.002
10:56:27.109 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.112 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.112 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.113 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:27.113 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.007
10:56:27.114 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.122 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.122 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.123 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:27.123 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
10:56:27.123 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.124 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.124 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.124 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:27.124 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
10:56:27.124 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.125 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.125 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.008
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.134 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:27.134 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.134 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.135 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.135 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.135 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.135 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:27.135 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.136 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.136 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.137 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:27.137 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.137 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.137 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.138 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.138 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.138 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.138 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.139 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.139 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.140 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.140 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[26] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
10:56:27.140 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.141 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.141 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.141 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:27.141 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[27] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
10:56:27.141 feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.142 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.142 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.150 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:27.150 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[28] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:27.150 feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.151 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.151 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.151 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:27.151 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[29] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.151 feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.152 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.152 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.158 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.158 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[30] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.158 feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.158 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.159 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.159 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.159 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[31] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.159 feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.160 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.160 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.160 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.160 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[32] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
10:56:27.160 feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.161 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.161 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.161 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:27.161 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[33] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
10:56:27.161 feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.162 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.162 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.170 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.170 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[34] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
10:56:27.171 feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.172 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.172 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.173 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:27.173 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[35] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.001
10:56:27.173 feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.179 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.179 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:27.180 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[36] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "4"
}
> * print "testing xlinkurl: 0.001
10:56:27.180 feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
10:56:27.181 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.182 [print] testing xlinkurl:4
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.183 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 4
10:56:27.183 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[37] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "4"
}
> * print "testing xlinkurl: 0.002
10:56:27.183 feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.186 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.005
10:56:27.192 [print] testing xlinkurl:4
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.193 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 4
10:56:27.193 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[38] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "3"
}
> * print "testing xlinkurl: 0.000
10:56:27.193 feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.194 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:27.195 [print] testing xlinkurl:3
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.195 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 3
10:56:27.195 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[39] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.002
10:56:27.196 feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.199 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.199 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:27.199 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[40] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.001
10:56:27.199 feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.201 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.201 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.206 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:27.206 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[41] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.006
10:56:27.206 feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.212 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.212 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.213 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.213 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[42] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.006
10:56:27.213 feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.220 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.220 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.221 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:27.221 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[43] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
10:56:27.221 feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.222 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:27.227 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.228 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.228 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[44] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.228 feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.229 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:27.231 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.231 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.231 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[45] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.231 feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.232 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.232 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.233 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.233 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[46] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.005
10:56:27.233 feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.239 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.239 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.240 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
10:56:27.240 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[47] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:27.240 feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.240 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.241 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.241 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:27.241 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[48] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.241 feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.242 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.242 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.243 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.243 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[49] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "k"
}
> * print "testing xlinkurl: 0.000
10:56:27.243 feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.244 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.244 [print] testing xlinkurl:k
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.244 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: k
10:56:27.244 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[50] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.007
10:56:27.244 feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"k"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.252 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.252 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.252 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:27.252 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[51] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:27.252 feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.253 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.253 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.254 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:27.254 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[52] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.254 feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.254 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.254 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.255 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.255 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[53] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "v"
}
> * print "testing xlinkurl: 0.000
10:56:27.255 feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.255 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.255 [print] testing xlinkurl:v
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.256 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: v
10:56:27.256 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[54] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
10:56:27.256 feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.256 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.256 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.257 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:27.257 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[55] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.001
10:56:27.257 feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.259 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.259 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.259 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.259 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[56] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.002
10:56:27.259 feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.262 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.262 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.262 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.262 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[57] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
10:56:27.262 feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.263 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:27.268 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.268 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
10:56:27.268 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[58] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
10:56:27.268 feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.269 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.269 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.269 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
10:56:27.269 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[59] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.269 feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.270 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.270 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.270 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.270 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[60] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
10:56:27.271 feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.271 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.271 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.272 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:27.272 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[61] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.009
10:56:27.272 feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.282 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.282 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.282 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.282 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[62] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:27.282 feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.283 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.283 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.284 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:27.284 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[63] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
10:56:27.284 feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.284 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.285 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.285 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:27.285 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[64] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
10:56:27.285 feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.286 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.286 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.286 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:27.286 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[65] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.286 feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.287 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.287 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.288 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.288 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[66] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
10:56:27.288 feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.289 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.289 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.289 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:27.289 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[67] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:27.289 feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.290 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.290 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.290 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:27.290 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[68] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.001
10:56:27.290 feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.298 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.298 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.299 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:27.300 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[69] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.005
10:56:27.300 feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.306 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.306 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.306 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:27.306 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[70] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:27.306 feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.307 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.307 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.307 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:27.307 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[71] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.005
10:56:27.308 feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.314 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.314 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.314 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
10:56:27.314 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[72] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
10:56:27.314 feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.315 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.315 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.006
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.321 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.322 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[73] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
10:56:27.322 feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.322 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.323 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.323 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:27.323 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[74] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:27.323 feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.324 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.324 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.324 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:27.324 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[75] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
10:56:27.324 feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.325 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.325 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.325 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:27.325 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[76] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.007
10:56:27.325 feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.334 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.334 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.334 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
10:56:27.334 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[77] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "?"
}
> * print "testing xlinkurl: 0.000
10:56:27.334 feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.335 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:27.339 [print] testing xlinkurl:?
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.340 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: ?
10:56:27.340 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[78] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.340 feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"?"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.340 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.341 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.342 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.342 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[79] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.342 feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.343 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.343 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.343 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.343 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[80] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
10:56:27.344 feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.345 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.345 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.345 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
10:56:27.345 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[81] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "="
}
> * print "testing xlinkurl: 0.012
10:56:27.345 feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.358 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.358 [print] testing xlinkurl:=
> Given url link 0.000
> When method HEAD 0.011
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.370 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: =
10:56:27.370 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[82] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.370 feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"="}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.371 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.371 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.371 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.371 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[83] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.000
10:56:27.371 feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.372 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.372 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.372 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
10:56:27.372 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[84] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.373 feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.373 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.373 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.374 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.374 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[85] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.374 feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.374 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.375 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.375 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.375 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[86] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.375 feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.376 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.376 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.376 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.376 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[87] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
10:56:27.376 feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.377 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.377 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.378 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.378 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[88] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
10:56:27.378 feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.379 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.379 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.379 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:27.379 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[89] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
10:56:27.379 feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.380 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.009
10:56:27.390 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.390 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
10:56:27.390 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[90] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
10:56:27.390 feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.391 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.391 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.392 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:27.392 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[91] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.392 feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.392 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.393 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.393 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.393 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[92] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
10:56:27.393 feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.394 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.394 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.394 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:27.394 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[93] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.394 feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.395 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.395 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.395 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.395 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[94] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
10:56:27.395 feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.396 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.396 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.396 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:27.396 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[95] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.397 feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.397 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.397 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.398 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.398 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[96] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
10:56:27.398 feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.399 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.399 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.399 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
10:56:27.399 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[97] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.002
10:56:27.399 feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.402 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.402 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.402 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:27.402 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[98] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.402 feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.403 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.403 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.006
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.410 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.410 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[99] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.410 feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.411 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.411 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.412 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.412 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[100] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
10:56:27.412 feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.413 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.413 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.413 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
10:56:27.414 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[101] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
10:56:27.415 feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.416 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.416 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.416 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:27.416 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[102] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.003
10:56:27.417 feature call (loop) failed at index: 101
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.421 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.421 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.421 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
10:56:27.421 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[103] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
10:56:27.421 feature call (loop) failed at index: 102
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.422 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.422 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.423 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
10:56:27.423 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[104] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.002
10:56:27.423 feature call (loop) failed at index: 103
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.426 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.426 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.426 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
10:56:27.426 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[105] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.007
10:56:27.426 feature call (loop) failed at index: 104
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.434 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.434 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.434 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
10:56:27.434 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[106] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.434 feature call (loop) failed at index: 105
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.435 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:27.439 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.440 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.440 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[107] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.440 feature call (loop) failed at index: 106
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.441 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.441 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.441 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.441 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[108] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.441 feature call (loop) failed at index: 107
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.442 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.442 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.442 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.442 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[109] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
10:56:27.442 feature call (loop) failed at index: 108
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.443 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.006
10:56:27.450 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.450 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
10:56:27.450 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[110] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.007
10:56:27.450 feature call (loop) failed at index: 109
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.458 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.458 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.458 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.458 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[111] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
10:56:27.458 feature call (loop) failed at index: 110
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.459 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.459 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.460 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:27.460 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[112] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
10:56:27.460 feature call (loop) failed at index: 111
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.461 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.461 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.461 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
10:56:27.462 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[113] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
10:56:27.462 feature call (loop) failed at index: 112
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.462 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.462 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.463 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
10:56:27.463 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[114] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.006
10:56:27.463 feature call (loop) failed at index: 113
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.470 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.470 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.470 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
10:56:27.470 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[115] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
10:56:27.470 feature call (loop) failed at index: 114
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.471 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.471 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.471 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
10:56:27.471 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[116] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.471 feature call (loop) failed at index: 115
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.472 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.472 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.473 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.473 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[117] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
10:56:27.473 feature call (loop) failed at index: 116
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.473 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.473 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.474 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
10:56:27.474 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[118] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
10:56:27.474 feature call (loop) failed at index: 117
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.474 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.475 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.475 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.475 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[119] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
10:56:27.475 feature call (loop) failed at index: 118
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.476 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.009
10:56:27.486 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.486 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:27.486 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[120] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.486 feature call (loop) failed at index: 119
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.487 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.487 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.487 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.487 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[121] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
10:56:27.488 feature call (loop) failed at index: 120
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.488 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.488 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.489 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:27.489 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[122] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.489 feature call (loop) failed at index: 121
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.490 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.490 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.490 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.490 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[123] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "-"
}
> * print "testing xlinkurl: 0.000
10:56:27.490 feature call (loop) failed at index: 122
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.492 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.492 [print] testing xlinkurl:-
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.492 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: -
10:56:27.492 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[124] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.004
10:56:27.492 feature call (loop) failed at index: 123
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"-"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.497 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.498 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.498 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
10:56:27.498 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[125] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
10:56:27.498 feature call (loop) failed at index: 124
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.499 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.499 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.499 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
10:56:27.499 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[126] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.499 feature call (loop) failed at index: 125
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.500 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.500 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.500 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.500 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[127] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
10:56:27.501 feature call (loop) failed at index: 126
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.501 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.501 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.502 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
10:56:27.502 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[128] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
10:56:27.506 feature call (loop) failed at index: 127
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.506 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.506 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.507 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
10:56:27.508 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.864
Scenario Outline Hydrografie waterschappen INSPIRE
07575774-57a1-4419-bab4-6c88fdeb02b2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '07575774-57a1-4419-bab4-6c88fdeb02b2' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.558
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '07575774-57a1-4419-bab4-6c88fdeb02b2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.004
10:56:27.158 [print] title:Hydrografie waterschappen INSPIRE
* print title 0.000
10:56:27.158 [print] Hydrografie waterschappen INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:27.159 [print] [
  "datastromen@hetwaterschapshuis.nl",
  "datastromen@hetwaterschapshuis.nl",
  "",
  "datastromen@hetwaterschapshuis.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:27.160 [print] organisation: [
  "Het Waterschapshuis",
  "Het Waterschapshuis",
  "Het Waterschapshuis",
  "Het Waterschapshuis"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:27.161 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/ETRS89",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"
]
* def id = "07575774-57a1-4419-bab4-6c88fdeb02b2" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.646
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/ETRS89}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:27.812 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/ETRS89"
}
> * print "testing xlinkurl: 0.012
10:56:27.180 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.180 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/ETRS89
> Given url link 0.000
> When method HEAD 0.287
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"
}
> * print "testing xlinkurl: 0.001
10:56:27.470 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.470 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2
> Given url link 0.000
> When method HEAD 0.317
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.024
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:27.812 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.351
Scenario Outline Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
b6ee58a1-b097-4c6d-8600-eb81efc1468c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b6ee58a1-b097-4c6d-8600-eb81efc1468c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.555
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b6ee58a1-b097-4c6d-8600-eb81efc1468c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:27.342 [print] title:Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
* print title 0.000
10:56:27.342 [print] Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:27.343 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.004
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:27.348 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:27.351 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "b6ee58a1-b097-4c6d-8600-eb81efc1468c" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.891
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:28.247 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.018
10:56:27.376 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:27.378 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c"
}
> * print "testing xlinkurl: 0.000
10:56:27.678 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.678 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c
> Given url link 0.000
> When method HEAD 0.527
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:28.207 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.207 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.243 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
10:56:28.243 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.246 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.246 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:28.247 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:28.247 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.292
Scenario Outline Monitoring stations (Nitraatrichtlijn) diepe filters
36a7e8cb-8300-4602-93d2-135943365a6f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '36a7e8cb-8300-4602-93d2-135943365a6f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.554
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '36a7e8cb-8300-4602-93d2-135943365a6f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:27.487 [print] title:Monitoring stations (Nitraatrichtlijn) diepe filters
* print title 0.000
10:56:27.488 [print] Monitoring stations (Nitraatrichtlijn) diepe filters
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:27.488 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:27.491 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:27.493 [print] [
  "https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"
]
* def id = "36a7e8cb-8300-4602-93d2-135943365a6f" 0.005
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.362
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:27.861 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"
}
> * print "testing xlinkurl: 0.000
10:56:27.500 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.501 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f
> Given url link 0.000
> When method HEAD 0.360
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:27.861 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f
10:56:27.861 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.673
Scenario Outline Luchtfoto 2019 25cm RGB open data
64ff8561-5c56-4cc1-ae0e-94366fb70b7e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '64ff8561-5c56-4cc1-ae0e-94366fb70b7e' 0.010
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.544
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '64ff8561-5c56-4cc1-ae0e-94366fb70b7e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:27.552 [print] title:Luchtfoto 2019 25cm RGB open data
* print title 0.000
10:56:27.552 [print] Luchtfoto 2019 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:27.553 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.006
10:56:27.561 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Geocart",
  "Geocart",
  "Geocart",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:27.563 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b023",
  "",
  "",
  ""
]
* def id = "64ff8561-5c56-4cc1-ae0e-94366fb70b7e" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.052
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b023}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.619 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"
}
> * print "testing xlinkurl: 0.000
10:56:27.569 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
10:56:27.574 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b023
> Given url link 0.000
> When method HEAD 0.040
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:27.614 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 40 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b023
10:56:27.614 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:27.614 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:27.615 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.615 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.616 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:27.616 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:27.616 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.617 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.617 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.618 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:27.618 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:27.618 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.618 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:27.619 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:27.619 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:27.619 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.350
Scenario Outline Gecontroleerde klimatologische daggegevens KNMI Nederland
daa63e4c-dce6-11e3-991e-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'daa63e4c-dce6-11e3-991e-901b0e19e163' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.604
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'daa63e4c-dce6-11e3-991e-901b0e19e163' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:27.953 [print] title:Gecontroleerde klimatologische daggegevens KNMI Nederland
* print title 0.000
10:56:27.953 [print] Gecontroleerde klimatologische daggegevens KNMI Nederland
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:27.954 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:27.955 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.000
10:56:27.960 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "daa63e4c-dce6-11e3-991e-901b0e19e163" 0.010
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.364
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.335 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"
}
> * print "testing xlinkurl: 0.000
10:56:27.973 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:27.977 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:28.292 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:28.292 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:28.293 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.294 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.039
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.334 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.455
Scenario Outline Geologisch booronderzoek onder INSPIRE
6c1cf452-8c62-4046-99ab-640a5e184f9c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6c1cf452-8c62-4046-99ab-640a5e184f9c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.593
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c1cf452-8c62-4046-99ab-640a5e184f9c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:28.111 [print] title:Geologisch booronderzoek onder INSPIRE
* print title 0.000
10:56:28.111 [print] Geologisch booronderzoek onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:28.112 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:28.113 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:28.114 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "6c1cf452-8c62-4046-99ab-640a5e184f9c" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.428
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:29.545 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"
}
> * print "testing xlinkurl: 0.000
10:56:28.119 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.119 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f
> Given url link 0.000
> When method HEAD 0.281
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.402 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.000
10:56:28.402 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.403 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.403 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.605 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
10:56:28.606 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.606 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.607 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.592
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.200 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
10:56:29.200 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.202 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.202 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:29.545 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.027
Scenario Outline Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
3387ef8a-9237-453a-aa4e-585d1e193550 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3387ef8a-9237-453a-aa4e-585d1e193550' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.591
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3387ef8a-9237-453a-aa4e-585d1e193550' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:28.223 [print] title:Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
* print title 0.000
10:56:28.223 [print] Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.003
* print email 0.000
10:56:28.226 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.004
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:28.231 [print] organisation: [
  "Ministerie van Economische Zaken - GIS Competence Center",
  "Ministerie van Landbouw, Natuur en Voedselkwaliteit",
  "Ministerie van Economische Zaken - GIS Competence Center"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:28.233 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl"
]
* def id = "3387ef8a-9237-453a-aa4e-585d1e193550" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.707
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.945 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
10:56:28.241 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.242 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.303
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550"
}
> * print "testing xlinkurl: 0.000
10:56:28.548 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.548 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550
> Given url link 0.000
> When method HEAD 0.347
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:28.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.898 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.044
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:28.944 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.303
Scenario Outline LCP emissies (Richtlijn Industriële emissies) 2016
d24ccb35-e9d2-41bf-b231-43083fc0c76d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd24ccb35-e9d2-41bf-b231-43083fc0c76d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.571
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd24ccb35-e9d2-41bf-b231-43083fc0c76d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:28.388 [print] title:LCP emissies (Richtlijn Industriële emissies) 2016
* print title 0.000
10:56:28.388 [print] LCP emissies (Richtlijn Industriële emissies) 2016
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:28.390 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:28.391 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:28.392 [print] [
  "https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"
]
* def id = "d24ccb35-e9d2-41bf-b231-43083fc0c76d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.362
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:28.756 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"
}
> * print "testing xlinkurl: 0.000
10:56:28.397 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.398 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3
> Given url link 0.000
> When method HEAD 0.358
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:28.756 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3
10:56:28.756 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.703
Scenario Outline Bathymetrie Nederland - kust
adn73c4a-ef03-4785-b7f6-942e86b385f5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.006
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'adn73c4a-ef03-4785-b7f6-942e86b385f5' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.596
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn73c4a-ef03-4785-b7f6-942e86b385f5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:28.468 [print] title:Bathymetrie Nederland - kust
* print title 0.000
10:56:28.468 [print] Bathymetrie Nederland - kust
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:28.469 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:28.472 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:28.474 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "adn73c4a-ef03-4785-b7f6-942e86b385f5" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.545
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:29.022 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5"
}
> * print "testing xlinkurl: 0.000
10:56:28.479 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.480 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
10:56:28.817 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.817 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.021 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:29.021 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.022 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.022 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:29.022 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:29.022 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.392
Scenario Outline Emissies naar lucht en water in 2011 vanuit de industrie
ad6caa40-89ab-47e3-85ab-3f8e32024a71 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ad6caa40-89ab-47e3-85ab-3f8e32024a71' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.631
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ad6caa40-89ab-47e3-85ab-3f8e32024a71' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:28.885 [print] title:Emissies naar lucht en water in 2011 vanuit de industrie
* print title 0.000
10:56:28.885 [print] Emissies naar lucht en water in 2011 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:28.886 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:28.888 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.012
10:56:28.902 [print] [
  "https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"
]
* def id = "ad6caa40-89ab-47e3-85ab-3f8e32024a71" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.370
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:29.274 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"
}
> * print "testing xlinkurl: 0.003
10:56:28.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:28.913 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65
> Given url link 0.000
> When method HEAD 0.359
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:29.273 javax.net.ssl.SSLException: Connection reset, http call failed after 358 milliseconds for URL: https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65
10:56:29.273 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.605
Scenario Outline Landelijk grondwaterregister - Faciliteiten voor productie en industrie
afc450bd-65b3-4e59-b0fb-619869bf6ada <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'afc450bd-65b3-4e59-b0fb-619869bf6ada' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.573
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'afc450bd-65b3-4e59-b0fb-619869bf6ada' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:28.914 [print] title:Landelijk grondwaterregister - Faciliteiten voor productie en industrie
* print title 0.000
10:56:28.915 [print] Landelijk grondwaterregister - Faciliteiten voor productie en industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:28.915 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.005
10:56:28.922 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:28.925 [print] [
  ""
]
* def id = "afc450bd-65b3-4e59-b0fb-619869bf6ada" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.009
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:28.936 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:28.930 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:28.931 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:28.934 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:28.934 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.642
Scenario Outline BRO Digital Geological Model (DGM)
F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.586
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:29.348 [print] title:BRO Digital Geological Model (DGM)
* print title 0.000
10:56:29.348 [print] BRO Digital Geological Model (DGM)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:29.349 [print] [
  "info@bro.nl",
  "info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:29.351 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:29.353 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.024
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:30.379 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
10:56:29.357 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.357 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.279
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.637 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.000
10:56:29.637 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.638 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.638 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.839 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"
}
> * print "testing xlinkurl: 0.000
10:56:29.839 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:29.841 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.841 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/#
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.045 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
10:56:30.045 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.047 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:30.047 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.330
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:30.379 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.834
Scenario Outline BRO REGIS II Hydrogeologisch model (HGM)
E7D9F0D6-2B8D-6699-F26E-4A781228F2DD <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'E7D9F0D6-2B8D-6699-F26E-4A781228F2DD' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.641
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'E7D9F0D6-2B8D-6699-F26E-4A781228F2DD' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:29.582 [print] title:BRO REGIS II Hydrogeologisch model (HGM)
* print title 0.000
10:56:29.582 [print] BRO REGIS II Hydrogeologisch model (HGM)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:29.583 [print] [
  "info@bro.nl",
  "info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:29.584 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:29.586 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/NAP",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"
]
* def id = "E7D9F0D6-2B8D-6699-F26E-4A781228F2DD" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.593
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/NAP}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.180 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/NAP"
}
> * print "testing xlinkurl: 0.000
10:56:29.590 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.590 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/NAP
> Given url link 0.000
> When method HEAD 0.305
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
10:56:29.897 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.897 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.282
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.180 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.877
Scenario Outline BRO GeoTOP (GTM)
7D35598D-DFBF-C64D-0F1A-92A80A45EB14 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7D35598D-DFBF-C64D-0F1A-92A80A45EB14' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.676
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7D35598D-DFBF-C64D-0F1A-92A80A45EB14' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:29.627 [print] title:BRO GeoTOP (GTM)
* print title 0.000
10:56:29.627 [print] BRO GeoTOP (GTM)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:29.628 [print] [
  "info@bro.nl",
  "info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.002
10:56:29.631 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:29.633 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/NAP",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"
]
* def id = "7D35598D-DFBF-C64D-0F1A-92A80A45EB14" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.598
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/NAP}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.233 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/NAP"
}
> * print "testing xlinkurl: 0.001
10:56:29.643 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.644 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/NAP
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
10:56:29.943 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.943 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.289
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.233 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.366
Scenario Outline Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
34e6165f-1269-48d1-b255-0f05d163d692 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '34e6165f-1269-48d1-b255-0f05d163d692' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.631
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '34e6165f-1269-48d1-b255-0f05d163d692' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:29.663 [print] title:Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
* print title 0.000
10:56:29.664 [print] Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:29.666 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:29.668 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:29.671 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "34e6165f-1269-48d1-b255-0f05d163d692" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.863
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:30.536 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
10:56:29.675 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.676 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.292
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692"
}
> * print "testing xlinkurl: 0.000
10:56:29.970 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.970 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692
> Given url link 0.000
> When method HEAD 0.512
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:30.485 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:30.486 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.040
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.528 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
10:56:30.529 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.532 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:30.533 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:30.534 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:30.535 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.259
Scenario Outline CBS Provincies 2012
71c2b7d2-a1a8-4836-b8d4-7247d331b04d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '71c2b7d2-a1a8-4836-b8d4-7247d331b04d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.602
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '71c2b7d2-a1a8-4836-b8d4-7247d331b04d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:29.882 [print] title:CBS Provincies 2012
* print title 0.000
10:56:29.882 [print] CBS Provincies 2012
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:29.884 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.020
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.002
10:56:29.907 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:29.911 [print] [
  "http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip",
  ""
]
* def id = "71c2b7d2-a1a8-4836-b8d4-7247d331b04d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.312
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:30.225 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip"
}
> * print "testing xlinkurl: 0.000
10:56:29.916 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:29.916 [print] testing xlinkurl:http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip
> Given url link 0.000
> When method HEAD 0.305
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:30.224 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:30.224 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:30.225 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:30.225 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.744
Scenario Outline Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
eu-2c7040b-c448-451b-bf15-f2416ecaadd1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-2c7040b-c448-451b-bf15-f2416ecaadd1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.564
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-2c7040b-c448-451b-bf15-f2416ecaadd1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:30.114 [print] title:Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
* print title 0.000
10:56:30.114 [print] Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:30.115 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:30.117 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:30.119 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "eu-2c7040b-c448-451b-bf15-f2416ecaadd1" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.588
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:30.710 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1"
}
> * print "testing xlinkurl: 0.003
10:56:30.132 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:30.133 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1
> Given url link 0.000
> When method HEAD 0.359
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.001
10:56:30.495 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:30.496 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.211
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.709 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:30.709 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:30.710 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:30.710 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:30.710 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:30.710 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.830
Scenario Outline Maritieme grenzen - Noordzee
a5241416-8401-4623-be61-57ef50447a41 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a5241416-8401-4623-be61-57ef50447a41' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.636
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5241416-8401-4623-be61-57ef50447a41' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:30.824 [print] title:Maritieme grenzen - Noordzee
* print title 0.000
10:56:30.824 [print] Maritieme grenzen - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:30.826 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:30.828 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:30.830 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"
]
* def id = "a5241416-8401-4623-be61-57ef50447a41" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.592
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
10:56:31.424 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
10:56:30.837 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
10:56:30.840 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"
}
> * print "testing xlinkurl: 0.000
10:56:31.139 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.140 [print] testing xlinkurl:https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41
> Given url link 0.000
> When method HEAD 0.283
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
10:56:31.424 assertion failed: path: $, actual: 400, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.801
Scenario Outline Overstromingsrisicokaarten
2daad588-11ef-47de-9832-6fe2c3b93e6d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.001
And param id = '2daad588-11ef-47de-9832-6fe2c3b93e6d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.724
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2daad588-11ef-47de-9832-6fe2c3b93e6d' 0.003
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.001
10:56:30.969 [print] title:Overstromingsrisicokaarten
* print title 0.000
10:56:30.970 [print] Overstromingsrisicokaarten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:30.971 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.004
10:56:30.979 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
10:56:30.983 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "2daad588-11ef-47de-9832-6fe2c3b93e6d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.527
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:31.512 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d"
}
> * print "testing xlinkurl: 0.000
10:56:30.987 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:30.989 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d
> Given url link 0.000
> When method HEAD 0.473
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:31.463 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.463 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.044
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:31.508 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:31.508 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:31.510 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.511 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:31.511 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:31.512 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.734
Scenario Outline Overstromingsgevaarkaarten
bc2c53f6-c908-4d7c-a6c0-78d9a2855640 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'bc2c53f6-c908-4d7c-a6c0-78d9a2855640' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.643
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc2c53f6-c908-4d7c-a6c0-78d9a2855640' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:31.027 [print] title:Overstromingsgevaarkaarten
* print title 0.000
10:56:31.028 [print] Overstromingsgevaarkaarten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:31.029 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:31.031 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
10:56:31.034 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "bc2c53f6-c908-4d7c-a6c0-78d9a2855640" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.543
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:31.578 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640"
}
> * print "testing xlinkurl: 0.000
10:56:31.041 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:31.042 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640
> Given url link 0.000
> When method HEAD 0.495
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:31.539 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.539 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.033
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:31.574 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:31.574 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:31.576 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.577 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:31.577 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:31.578 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.355
Scenario Outline Nationale Landschappen
60a2a7c2-d5b3-4ad5-b562-c448695357fb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '60a2a7c2-d5b3-4ad5-b562-c448695357fb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.604
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '60a2a7c2-d5b3-4ad5-b562-c448695357fb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:31.145 [print] title:Nationale Landschappen
* print title 0.000
10:56:31.145 [print] Nationale Landschappen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:31.146 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:31.147 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:31.151 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "60a2a7c2-d5b3-4ad5-b562-c448695357fb" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.873
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:32.026 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
10:56:31.155 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.156 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.296
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb"
}
> * print "testing xlinkurl: 0.000
10:56:31.454 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.455 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb
> Given url link 0.000
> When method HEAD 0.516
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:31.973 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:31.975 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.042
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:32.019 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:32.020 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:32.022 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.022 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:32.024 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:32.024 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.703
Scenario Outline Afvalinrichtingen inclusief nucleaire inrichtingen
f5f68d51-2ca4-4897-8227-d3938b2b0a7e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f5f68d51-2ca4-4897-8227-d3938b2b0a7e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.572
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5f68d51-2ca4-4897-8227-d3938b2b0a7e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:31.286 [print] title:Afvalinrichtingen inclusief nucleaire inrichtingen
* print title 0.000
10:56:31.287 [print] Afvalinrichtingen inclusief nucleaire inrichtingen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:31.289 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:31.291 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
10:56:31.294 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f5f68d51-2ca4-4897-8227-d3938b2b0a7e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.562
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:31.858 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e"
}
> * print "testing xlinkurl: 0.000
10:56:31.299 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:31.300 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e
> Given url link 0.000
> When method HEAD 0.513
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:31.815 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.815 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.036
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:31.852 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:31.853 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:31.856 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.856 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:31.857 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:31.857 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.414
Scenario Outline Stiltegebieden
cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.592
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:31.480 [print] title:Stiltegebieden
* print title 0.000
10:56:31.481 [print] Stiltegebieden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:31.482 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:31.483 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
10:56:31.494 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.906
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:32.402 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
10:56:31.499 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.500 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.296
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5"
}
> * print "testing xlinkurl: 0.000
10:56:31.799 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:31.799 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5
> Given url link 0.000
> When method HEAD 0.531
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:32.332 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.332 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.067
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:32.400 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:32.400 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:32.401 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.401 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:32.402 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:32.402 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.334
Scenario Outline Provinciale monumenten
ca94a0cb-7561-4a10-a7d6-b840e56c33ff <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ca94a0cb-7561-4a10-a7d6-b840e56c33ff' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.657
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca94a0cb-7561-4a10-a7d6-b840e56c33ff' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:32.086 [print] title:Provinciale monumenten
* print title 0.000
10:56:32.086 [print] Provinciale monumenten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:32.087 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:32.087 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:32.089 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "ca94a0cb-7561-4a10-a7d6-b840e56c33ff" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.836
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:32.926 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
10:56:32.093 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.093 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.289
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff"
}
> * print "testing xlinkurl: 0.000
10:56:32.384 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.384 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff
> Given url link 0.000
> When method HEAD 0.498
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:32.884 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.884 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.040
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:32.925 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:32.925 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:32.926 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.926 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:32.926 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:32.926 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.297
Scenario Outline Wet Ammoniak en Veehouderij gebieden
998ba1dc-f6a6-49a3-a021-51f30d9b1d0e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '998ba1dc-f6a6-49a3-a021-51f30d9b1d0e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.665
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '998ba1dc-f6a6-49a3-a021-51f30d9b1d0e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:32.182 [print] title:Wet Ammoniak en Veehouderij gebieden
* print title 0.000
10:56:32.182 [print] Wet Ammoniak en Veehouderij gebieden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:32.182 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:32.184 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:32.187 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "998ba1dc-f6a6-49a3-a021-51f30d9b1d0e" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.813
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.001 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
10:56:32.193 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.193 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e"
}
> * print "testing xlinkurl: 0.000
10:56:32.487 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.487 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e
> Given url link 0.000
> When method HEAD 0.473
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:32.962 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.962 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.036
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:32.999 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:32.999 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.000 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.000 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.001 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:33.001 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.552
Scenario Outline Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
49ab8bee-b467-486a-96ca-b950443c453a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '49ab8bee-b467-486a-96ca-b950443c453a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.764
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ab8bee-b467-486a-96ca-b950443c453a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:32.347 [print] title:Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
* print title 0.000
10:56:32.348 [print] Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.014
* print email 0.002
10:56:32.365 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:32.367 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:32.371 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "49ab8bee-b467-486a-96ca-b950443c453a" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.883
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.258 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
10:56:32.378 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.379 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a"
}
> * print "testing xlinkurl: 0.001
10:56:32.677 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:32.678 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a
> Given url link 0.000
> When method HEAD 0.522
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:33.203 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.005
10:56:33.210 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.038
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.249 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:33.251 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.253 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.254 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.255 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:33.255 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.527
Scenario Outline NB-wetgebieden buiten Natura 2000
f0821bfe-5a0a-11e9-8647-d663bd873d93 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f0821bfe-5a0a-11e9-8647-d663bd873d93' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.673
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0821bfe-5a0a-11e9-8647-d663bd873d93' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:32.537 [print] title:NB-wetgebieden buiten Natura 2000
* print title 0.001
10:56:32.539 [print] NB-wetgebieden buiten Natura 2000
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.001
10:56:32.542 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:32.545 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.001
10:56:32.552 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f0821bfe-5a0a-11e9-8647-d663bd873d93" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.921
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.475 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.005
10:56:32.562 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.562 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93"
}
> * print "testing xlinkurl: 0.001
10:56:32.858 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.858 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93
> Given url link 0.000
> When method HEAD 0.567
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.002
10:56:33.429 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.429 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.039
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.469 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:33.470 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.472 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.473 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.474 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:33.474 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.380
Scenario Outline Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
110f9ec6-4464-462e-9765-83d90cefbeab <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeab' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.597
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeab' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:32.633 [print] title:Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
* print title 0.000
10:56:32.634 [print] Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:32.636 [print] [
  "servicedesk@ihw.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:32.639 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.002
10:56:32.645 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeab" 0.007
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.885
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:33.538 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab"
}
> * print "testing xlinkurl: 0.001
10:56:32.660 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:32.662 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab
> Given url link 0.000
> When method HEAD 0.339
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
10:56:33.003 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.003 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.205 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:33.205 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.206 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.206 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.318
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:33.526 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:33.527 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:33.530 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.537 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:33.538 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:33.538 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.653
Scenario Outline Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
krw-f7bb2351-9788-42ea-a58b-a5ee1842304e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw-f7bb2351-9788-42ea-a58b-a5ee1842304e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.616
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw-f7bb2351-9788-42ea-a58b-a5ee1842304e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:33.024 [print] title:Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
* print title 0.001
10:56:33.025 [print] Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:33.028 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.002
10:56:33.031 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
10:56:33.035 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw-f7bb2351-9788-42ea-a58b-a5ee1842304e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.014
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:34.051 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e"
}
> * print "testing xlinkurl: 0.001
10:56:33.041 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.043 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e
> Given url link 0.000
> When method HEAD 0.327
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.002
10:56:33.373 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.373 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.577 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:33.577 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:33.580 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
10:56:33.581 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.001
> When method HEAD 0.456
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:34.040 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.005
10:56:34.040 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:34.046 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.046 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:34.048 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:34.049 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.325
Scenario Outline Territoriale Zee volgens UNCLOS - Noordzee
bb11be63-bd38-4632-bf54-df44c423a529 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'bb11be63-bd38-4632-bf54-df44c423a529' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.605
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bb11be63-bd38-4632-bf54-df44c423a529' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:33.536 [print] title:Territoriale Zee volgens UNCLOS - Noordzee
* print title 0.000
10:56:33.536 [print] Territoriale Zee volgens UNCLOS - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.005
* print email 0.000
10:56:33.541 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.003
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:33.545 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:33.551 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"
]
* def id = "bb11be63-bd38-4632-bf54-df44c423a529" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.850
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:34.406 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:33.558 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.559 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.342
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"
}
> * print "testing xlinkurl: 0.000
10:56:33.904 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.904 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529
> Given url link 0.000
> When method HEAD 0.500
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:34.406 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.371
Scenario Outline Overheidsdiensten
c935f2ab-9b65-4dc4-94a0-73aeb840a941 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.358
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:33.366 [print] title:Overheidsdiensten
* print title 0.000
10:56:33.367 [print] Overheidsdiensten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:33.368 [print] [
  "erik.simonse@kvk.nl",
  "erik.simonse@kvk.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.005
10:56:33.375 [print] organisation: [
  "Kamer van Koophandel",
  "Kamer van Koophandel"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:47 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
* def id = "c935f2ab-9b65-4dc4-94a0-73aeb840a941" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
0.590
Scenario Outline Wijk- en Buurtkaart 2017 versie 3
26103042-50a1-4ee5-9c5b-857a2f8b7680 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '26103042-50a1-4ee5-9c5b-857a2f8b7680' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.571
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '26103042-50a1-4ee5-9c5b-857a2f8b7680' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:33.833 [print] title:Wijk- en Buurtkaart 2017 versie 3
* print title 0.004
10:56:33.838 [print] Wijk- en Buurtkaart 2017 versie 3
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:33.840 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:33.842 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:33.845 [print] [
  ""
]
* def id = "26103042-50a1-4ee5-9c5b-857a2f8b7680" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.004
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.851 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:33.849 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:33.850 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:33.850 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:33.851 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.010
Scenario Outline Aansluitende zone volgens UNCLOS - Noordzee
4cda487b-c467-490c-a843-6563fec016be <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4cda487b-c467-490c-a843-6563fec016be' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.763
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4cda487b-c467-490c-a843-6563fec016be' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:34.243 [print] title:Aansluitende zone volgens UNCLOS - Noordzee
* print title 0.000
10:56:34.243 [print] Aansluitende zone volgens UNCLOS - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:34.244 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:34.245 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:34.246 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"
]
* def id = "4cda487b-c467-490c-a843-6563fec016be" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.621
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:34.869 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:34.250 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.250 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.286
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"
}
> * print "testing xlinkurl: 0.000
10:56:34.539 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.539 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be
> Given url link 0.000
> When method HEAD 0.327
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:34.867 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
3.152
Scenario Outline Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
uwwtd-9d8e-4758-83fa-28b057f185e3 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e3' 0.009
And param elementsetname = 'full' 0.001
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.776
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e3' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:34.333 [print] title:Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
* print title 0.000
10:56:34.333 [print] Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:34.334 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:34.336 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:34.339 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e3" 0.012
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.178
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:35.529 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3"
}
> * print "testing xlinkurl: 0.000
10:56:34.362 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.363 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3
> Given url link 0.000
> When method HEAD 0.484
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
10:56:34.850 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:34.851 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.052 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:35.053 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.054 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.054 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.473
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:35.527 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:35.528 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:35.529 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.529 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:35.529 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:35.529 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.680
Scenario Outline Gebouwen
0558a41c-b09a-47fa-b8db-9de6bfe4f494 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '0558a41c-b09a-47fa-b8db-9de6bfe4f494' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.634
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0558a41c-b09a-47fa-b8db-9de6bfe4f494' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:34.494 [print] title:Gebouwen
* print title 0.000
10:56:34.494 [print] Gebouwen
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:34.495 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:34.497 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:34.499 [print] [
  "http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2",
  ""
]
* def id = "0558a41c-b09a-47fa-b8db-9de6bfe4f494" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.026
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:34.527 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"
}
> * print "testing xlinkurl: 0.000
10:56:34.519 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.519 [print] testing xlinkurl:http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:34.520 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2
10:56:34.520 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:34.520 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:34.523 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.523 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:34.527 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:34.527 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.218
Scenario Outline Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
0f128799-cf18-4b37-a721-e62b068191f5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '0f128799-cf18-4b37-a721-e62b068191f5' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.554
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0f128799-cf18-4b37-a721-e62b068191f5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:34.609 [print] title:Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
* print title 0.001
10:56:34.610 [print] Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:34.612 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:34.614 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:34.617 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "0f128799-cf18-4b37-a721-e62b068191f5" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.830
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:35.447 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
10:56:34.621 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.622 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.285
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5"
}
> * print "testing xlinkurl: 0.000
10:56:34.909 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:34.909 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5
> Given url link 0.000
> When method HEAD 0.494
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:35.405 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.405 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.440 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:35.441 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.442 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.443 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:35.443 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:35.443 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.757
Scenario Outline Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
df5ee213-e1bd-433b-80f7-4ea20f493ca8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'df5ee213-e1bd-433b-80f7-4ea20f493ca8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.512
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'df5ee213-e1bd-433b-80f7-4ea20f493ca8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:35.044 [print] title:Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* print title 0.000
10:56:35.044 [print] Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:35.045 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:35.046 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:35.049 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "df5ee213-e1bd-433b-80f7-4ea20f493ca8" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.626
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:35.678 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8"
}
> * print "testing xlinkurl: 0.000
10:56:35.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.069 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8
> Given url link 0.000
> When method HEAD 0.564
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:35.635 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.635 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.037
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.673 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:35.673 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.675 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.676 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:35.677 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:35.677 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.332
Scenario Outline Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
krm-a905-9d8e-4758-83fa-28b057f185e3 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krm-a905-9d8e-4758-83fa-28b057f185e3' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.541
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krm-a905-9d8e-4758-83fa-28b057f185e3' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:35.196 [print] title:Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
* print title 0.000
10:56:35.196 [print] Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:35.197 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.003
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:35.201 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:35.204 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "krm-a905-9d8e-4758-83fa-28b057f185e3" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.889
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:36.097 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3"
}
> * print "testing xlinkurl: 0.000
10:56:35.209 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.210 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:35.553 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.553 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.753 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:35.754 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:35.755 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.755 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:36.096 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.725
Scenario Outline Wijk- en Buurtkaart 2016 versie 3
6cde2ce7-3ecd-4785-b7b8-d62c3381efe9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6cde2ce7-3ecd-4785-b7b8-d62c3381efe9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.704
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6cde2ce7-3ecd-4785-b7b8-d62c3381efe9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:35.577 [print] title:Wijk- en Buurtkaart 2016 versie 3
* print title 0.000
10:56:35.577 [print] Wijk- en Buurtkaart 2016 versie 3
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:35.579 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:35.581 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:35.584 [print] [
  ""
]
* def id = "6cde2ce7-3ecd-4785-b7b8-d62c3381efe9" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:35.591 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:35.589 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:35.589 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:35.590 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:35.590 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.676
Scenario Outline Wijk- en Buurtkaart 2018 versie 2
ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.653
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
10:56:36.108 [print] title:Wijk- en Buurtkaart 2018 versie 2
* print title 0.000
10:56:36.109 [print] Wijk- en Buurtkaart 2018 versie 2
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:36.110 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:36.111 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:36.113 [print] [
  ""
]
* def id = "ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.009
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:36.124 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:36.122 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:36.122 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:36.123 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:36.123 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.290
Scenario Outline Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
fe2f9091-1962-4073-9e3b-3e4aeed488a5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe2f9091-1962-4073-9e3b-3e4aeed488a5' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.655
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe2f9091-1962-4073-9e3b-3e4aeed488a5' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:36.252 [print] title:Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
* print title 0.000
10:56:36.252 [print] Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.003
10:56:36.256 [print] [
  "ontheffingen@rdw.nl",
  "ontheffingen@rdw.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:36.257 [print] organisation: [
  "RDW",
  "RDW",
  "RDW"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:36.258 [print] [
  "http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf",
  ""
]
* def id = "fe2f9091-1962-4073-9e3b-3e4aeed488a5" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.315
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:36.575 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf"
}
> * print "testing xlinkurl: 0.001
10:56:36.267 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:36.267 [print] testing xlinkurl:http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf
> Given url link 0.000
> When method HEAD 0.304
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:36.574 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:36.574 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:36.575 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:36.575 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.372
Scenario Outline Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
wt-83730-e750-485a-9c0c-39bf9be72cf8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-83730-e750-485a-9c0c-39bf9be72cf8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.609
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9be72cf8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:36.292 [print] title:Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
* print title 0.000
10:56:36.293 [print] Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:36.295 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:36.297 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.003
10:56:36.302 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-83730-e750-485a-9c0c-39bf9be72cf8" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.875
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:37.181 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8"
}
> * print "testing xlinkurl: 0.001
10:56:36.310 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:36.311 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
10:56:36.648 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:36.649 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.002
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:36.852 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:36.852 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:36.853 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:36.853 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.326
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:37.180 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.865
Scenario Outline Maritieme grenzen - basislijn Noordzee
1249746f-c2a6-4639-98f2-251676b3528e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1249746f-c2a6-4639-98f2-251676b3528e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.635
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1249746f-c2a6-4639-98f2-251676b3528e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.002
10:56:36.741 [print] title:Maritieme grenzen - basislijn Noordzee
* print title 0.000
10:56:36.742 [print] Maritieme grenzen - basislijn Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:36.743 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:36.744 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:36.748 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"
]
* def id = "1249746f-c2a6-4639-98f2-251676b3528e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.608
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:37.357 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:36.752 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:36.753 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.302
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"
}
> * print "testing xlinkurl: 0.001
10:56:37.058 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.058 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:37.357 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.945
Scenario Outline Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.005
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.639
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:36.774 [print] title:Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* print title 0.000
10:56:36.774 [print] Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.002
10:56:36.777 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:36.781 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.002
10:56:36.788 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.643
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.432 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.003
10:56:36.794 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:36.796 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.294
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e"
}
> * print "testing xlinkurl: 0.000
10:56:37.092 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.093 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e
> Given url link 0.000
> When method HEAD 0.299
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:37.394 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.394 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.036
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:37.431 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:37.431 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:37.432 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.432 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.432 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:37.432 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.339
Scenario Outline Geluidszones rondom vliegvelden
41023936-009d-48ec-a90d-c966895463c1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '41023936-009d-48ec-a90d-c966895463c1' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.576
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '41023936-009d-48ec-a90d-c966895463c1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:36.733 [print] title:Geluidszones rondom vliegvelden
* print title 0.000
10:56:36.733 [print] Geluidszones rondom vliegvelden
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
10:56:36.736 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:36.737 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
10:56:36.741 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "41023936-009d-48ec-a90d-c966895463c1" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.882
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.626 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
10:56:36.755 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:36.757 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1"
}
> * print "testing xlinkurl: 0.000
10:56:37.057 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
10:56:37.058 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1
> Given url link 0.000
> When method HEAD 0.516
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:37.576 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.576 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:37.612 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.006
10:56:37.615 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:37.622 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.622 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.623 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:37.624 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.431
Scenario Outline CBS gebiedsindelingen
effe1ab0-073d-437c-af13-df5c5e07d6cd <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'effe1ab0-073d-437c-af13-df5c5e07d6cd' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.504
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'effe1ab0-073d-437c-af13-df5c5e07d6cd' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:37.084 [print] title:CBS gebiedsindelingen
* print title 0.000
10:56:37.085 [print] CBS gebiedsindelingen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:37.086 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:37.087 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:37.090 [print] [
  "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml",
  ""
]
* def id = "effe1ab0-073d-437c-af13-df5c5e07d6cd" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.461
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.553 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml"
}
> * print "testing xlinkurl: 0.000
10:56:37.096 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:37.097 [print] testing xlinkurl:https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml
> Given url link 0.000
> When method HEAD 0.449
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
10:56:37.549 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.550 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.551 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:37.551 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.595
Scenario Outline Wijk- en Buurtkaart 2019 versie 1
5c37d29a-006d-4136-8989-adfc35a1d4a7 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5c37d29a-006d-4136-8989-adfc35a1d4a7' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.575
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5c37d29a-006d-4136-8989-adfc35a1d4a7' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:37.762 [print] title:Wijk- en Buurtkaart 2019 versie 1
* print title 0.000
10:56:37.763 [print] Wijk- en Buurtkaart 2019 versie 1
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:37.765 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:37.766 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:37.768 [print] [
  ""
]
* def id = "5c37d29a-006d-4136-8989-adfc35a1d4a7" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.775 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:37.772 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:37.773 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:37.774 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:37.774 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.417
Scenario Outline Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
wt-f5eb-b09f-4f6d-8397-8878a1b86238 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.002
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1b86238' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.679
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1b86238' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:38.044 [print] title:Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
* print title 0.000
10:56:38.044 [print] Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
10:56:38.047 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:38.048 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:38.051 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-f5eb-b09f-4f6d-8397-8878a1b86238" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.863
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:38.916 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238"
}
> * print "testing xlinkurl: 0.000
10:56:38.055 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.055 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
10:56:38.371 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.371 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.571 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:38.572 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.573 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.573 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.342
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:38.916 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.473
Scenario Outline Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
wt-3730-e750-485a-9c0c-39bf9be72cf9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-3730-e750-485a-9c0c-39bf9be72cf9' 0.013
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.740
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9be72cf9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:38.190 [print] title:Menselijke gezondheid en veiligheid -  geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
* print title 0.000
10:56:38.191 [print] Menselijke gezondheid en veiligheid -  geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:38.191 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:38.193 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:38.195 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-3730-e750-485a-9c0c-39bf9be72cf9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.856
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:39.053 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9"
}
> * print "testing xlinkurl: 0.000
10:56:38.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.200 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9
> Given url link 0.000
> When method HEAD 0.318
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
10:56:38.520 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.520 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.720 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:38.720 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.721 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.721 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.331
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:39.053 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.454
Scenario Outline Natuurnetwerk Nederland
c7d8d77b-8c47-4309-8c58-9b12b086407f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c7d8d77b-8c47-4309-8c58-9b12b086407f' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.742
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7d8d77b-8c47-4309-8c58-9b12b086407f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:38.302 [print] title:Natuurnetwerk Nederland
* print title 0.000
10:56:38.302 [print] Natuurnetwerk Nederland
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:38.303 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:38.305 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:38.309 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "c7d8d77b-8c47-4309-8c58-9b12b086407f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.850
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:39.160 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
10:56:38.313 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.313 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.293
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f"
}
> * print "testing xlinkurl: 0.000
10:56:38.608 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.608 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f
> Given url link 0.000
> When method HEAD 0.502
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:39.113 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.113 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.045
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:39.159 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:39.159 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:39.160 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.160 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:39.160 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:39.160 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.252
Scenario Outline Totale potentie aardwarmte uit aquifers, INSPIRE
11a292bd-9022-4a9f-b1bf-02f5c89ad74a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '11a292bd-9022-4a9f-b1bf-02f5c89ad74a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.672
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '11a292bd-9022-4a9f-b1bf-02f5c89ad74a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:38.303 [print] title:Totale potentie aardwarmte uit aquifers, INSPIRE
* print title 0.000
10:56:38.303 [print] Totale potentie aardwarmte uit aquifers, INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:38.304 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:38.306 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
10:56:38.309 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"
]
* def id = "11a292bd-9022-4a9f-b1bf-02f5c89ad74a" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.285
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.595 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"
}
> * print "testing xlinkurl: 0.002
10:56:38.314 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.314 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9
> Given url link 0.000
> When method HEAD 0.280
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.595 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.379
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
krw2006-68b5-4ff3-94a4-9c24109ffd5e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw2006-68b5-4ff3-94a4-9c24109ffd5e' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.631
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw2006-68b5-4ff3-94a4-9c24109ffd5e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:38.410 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
* print title 0.000
10:56:38.410 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:38.411 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:38.412 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:38.415 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw2006-68b5-4ff3-94a4-9c24109ffd5e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.871
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:39.287 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e"
}
> * print "testing xlinkurl: 0.000
10:56:38.419 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.419 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e
> Given url link 0.000
> When method HEAD 0.334
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:38.755 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.756 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.956 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:38.956 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:38.957 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:38.957 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.327
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:39.285 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:39.286 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:39.287 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.287 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:39.287 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:39.287 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.310
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
2e31680f-68b5-4ff3-94a4-9c24109ffd5e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2e31680f-68b5-4ff3-94a4-9c24109ffd5e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.609
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2e31680f-68b5-4ff3-94a4-9c24109ffd5e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.000
10:56:39.211 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
* print title 0.001
10:56:39.211 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
10:56:39.214 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:39.217 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.006
* print nlinks 0.003
10:56:39.227 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "2e31680f-68b5-4ff3-94a4-9c24109ffd5e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.841
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.071 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e"
}
> * print "testing xlinkurl: 0.001
10:56:39.233 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.234 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e
> Given url link 0.000
> When method HEAD 0.319
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:39.555 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.555 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:39.756 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.002
10:56:39.756 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:39.759 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.760 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.068 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:40.069 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.070 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.070 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.070 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:40.070 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.926
Scenario Outline Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
710c381c-ab2d-45d5-a45d-af2eba811e5f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '710c381c-ab2d-45d5-a45d-af2eba811e5f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.552
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '710c381c-ab2d-45d5-a45d-af2eba811e5f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:39.473 [print] title:Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
* print title 0.000
10:56:39.473 [print] Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:39.474 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:39.477 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:39.480 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "710c381c-ab2d-45d5-a45d-af2eba811e5f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.683
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/8}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.165 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f"
}
> * print "testing xlinkurl: 0.000
10:56:39.483 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.483 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f
> Given url link 0.000
> When method HEAD 0.306
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"
}
> * print "testing xlinkurl: 0.001
10:56:39.792 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.793 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/8
> Given url link 0.000
> When method HEAD 0.366
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.160 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:40.160 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.161 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.161 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.162 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:40.162 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.296
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
622a632a-c57b-44a2-83a4-e51223d5f15g <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '622a632a-c57b-44a2-83a4-e51223d5f15g' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.569
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '622a632a-c57b-44a2-83a4-e51223d5f15g' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:39.629 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
* print title 0.000
10:56:39.629 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:39.630 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:39.631 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:39.632 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "622a632a-c57b-44a2-83a4-e51223d5f15g" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.859
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.494 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g"
}
> * print "testing xlinkurl: 0.000
10:56:39.637 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.637 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
10:56:39.954 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.955 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.160 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:40.160 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.161 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.161 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.330
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.492 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:40.492 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.493 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.493 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.494 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:40.494 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.254
Scenario Outline Aardkundige waarden
f002bfc5-7d87-46b6-819e-8415422b65c9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f002bfc5-7d87-46b6-819e-8415422b65c9' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.546
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f002bfc5-7d87-46b6-819e-8415422b65c9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:39.714 [print] title:Aardkundige waarden
* print title 0.000
10:56:39.714 [print] Aardkundige waarden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:39.716 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:39.718 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:39.720 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f002bfc5-7d87-46b6-819e-8415422b65c9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.850
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:40.572 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
10:56:39.725 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.725 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9"
}
> * print "testing xlinkurl: 0.000
10:56:40.025 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.025 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9
> Given url link 0.000
> When method HEAD 0.480
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
10:56:40.507 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.507 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.056
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.564 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.006
10:56:40.564 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.571 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.571 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:40.571 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:40.571 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.290
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
110f9ec6-4464-462e-9765-83d90cefbead <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbead' 0.007
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.563
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbead' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:39.861 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
* print title 0.000
10:56:39.862 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:39.863 [print] [
  "servicedesk@ihw.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:39.865 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Informatiehuis Water"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:39.868 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbead" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.857
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.726 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead"
}
> * print "testing xlinkurl: 0.000
10:56:39.871 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:39.872 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:40.215 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.215 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.416 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:40.416 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.417 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.418 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.306
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.725 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.349
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
110f9ec6-4464-462e-9765-83d90cefbeag <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeag' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.542
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeag' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:40.034 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
* print title 0.000
10:56:40.035 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:40.035 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:40.037 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Informatiehuis Water"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:40.039 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeag" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.900
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.941 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag"
}
> * print "testing xlinkurl: 0.000
10:56:40.043 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.043 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag
> Given url link 0.000
> When method HEAD 0.315
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:40.360 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.360 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.563 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:40.563 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:40.564 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.564 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.374
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.939 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:40.939 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:40.940 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.940 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:40.941 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:40.941 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.610
Scenario Outline Publiekrechtelijke beperkingen
e536d943-ecff-4d7a-9500-cc31a263a6af <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e536d943-ecff-4d7a-9500-cc31a263a6af' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.582
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e536d943-ecff-4d7a-9500-cc31a263a6af' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:40.657 [print] title:Publiekrechtelijke beperkingen
* print title 0.000
10:56:40.657 [print] Publiekrechtelijke beperkingen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:40.658 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:40.659 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:40.661 [print] [
  "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"
]
* def id = "e536d943-ecff-4d7a-9500-cc31a263a6af" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.011
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:40.674 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"
}
> * print "testing xlinkurl: 0.000
10:56:40.666 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.667 [print] testing xlinkurl:http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
10:56:40.674 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 7 milliseconds for URL: http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124
10:56:40.674 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.250
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
krw2006-c57b-44a2-83a4-e51223d5f15g <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw2006-c57b-44a2-83a4-e51223d5f15g' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.530
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw2006-c57b-44a2-83a4-e51223d5f15g' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:40.699 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
* print title 0.000
10:56:40.699 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:40.700 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:40.701 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:40.702 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw2006-c57b-44a2-83a4-e51223d5f15g" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.858
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:41.561 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g"
}
> * print "testing xlinkurl: 0.000
10:56:40.706 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:40.706 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:41.043 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.043 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.245 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:41.245 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.246 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.246 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:41.560 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:41.560 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:41.561 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.561 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:41.561 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:41.561 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.291
Scenario Outline Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
110f9ec6-4464-462e-9765-83d90cefbeac <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeac' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.571
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeac' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:41.069 [print] title:Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
* print title 0.000
10:56:41.069 [print] Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:41.071 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:41.072 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:41.074 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeac" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.859
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:41.934 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac"
}
> * print "testing xlinkurl: 0.000
10:56:41.082 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.082 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac
> Given url link 0.000
> When method HEAD 0.322
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:41.406 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.406 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.608 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:41.608 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.609 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.610 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.323
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:41.934 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.336
Scenario Outline Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
krw-782cab20-8328-45f1-a9b2-c27d07c14066 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw-782cab20-8328-45f1-a9b2-c27d07c14066' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.621
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw-782cab20-8328-45f1-a9b2-c27d07c14066' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:41.197 [print] title:Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
* print title 0.000
10:56:41.197 [print] Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:41.198 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:41.199 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:41.201 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw-782cab20-8328-45f1-a9b2-c27d07c14066" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.859
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:42.061 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066"
}
> * print "testing xlinkurl: 0.001
10:56:41.213 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:41.215 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066
> Given url link 0.000
> When method HEAD 0.323
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:41.540 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.540 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.741 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:41.741 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.742 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.743 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.315
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:42.058 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:42.058 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:42.060 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.060 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:42.060 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:42.060 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.246
Scenario Outline Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
krm-a905-9d8e-4758-83fa-28b057f185e4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krm-a905-9d8e-4758-83fa-28b057f185e4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.568
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krm-a905-9d8e-4758-83fa-28b057f185e4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:41.246 [print] title:Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
* print title 0.000
10:56:41.246 [print] Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:41.247 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:41.248 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:41.249 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "krm-a905-9d8e-4758-83fa-28b057f185e4" 0.009
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.832
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:42.091 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4"
}
> * print "testing xlinkurl: 0.001
10:56:41.263 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:41.264 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:41.580 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.580 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.781 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:41.781 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.782 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.782 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.308
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:42.091 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.345
Scenario Outline Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
891ddc2d-8949-4a45-be96-c65b87c41f13 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '891ddc2d-8949-4a45-be96-c65b87c41f13' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.664
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '891ddc2d-8949-4a45-be96-c65b87c41f13' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:41.396 [print] title:Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
* print title 0.000
10:56:41.397 [print] Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.001
10:56:41.400 [print] [
  "servicedesk@ihw.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:41.401 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:41.403 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "891ddc2d-8949-4a45-be96-c65b87c41f13" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.835
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:42.240 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13"
}
> * print "testing xlinkurl: 0.001
10:56:41.408 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.409 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13
> Given url link 0.000
> When method HEAD 0.306
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
10:56:41.717 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.717 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.918 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:41.918 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:41.919 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.919 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.319
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:42.240 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.595
Scenario Outline Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
17716ed7-ce0d-4bfd-8868-a398e5578a36 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.001
And param request = 'GetRecordById' 0.000
And param id = '17716ed7-ce0d-4bfd-8868-a398e5578a36' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.575
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17716ed7-ce0d-4bfd-8868-a398e5578a36' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:41.523 [print] title:Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
* print title 0.000
10:56:41.523 [print] Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:41.524 [print] [
  "PPB-GVA@kadaster.nl",
  "ruimtelijkeplannen@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:41.525 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:41.527 [print] [
  "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"
]
* def id = "17716ed7-ce0d-4bfd-8868-a398e5578a36" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.004
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:41.535 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"
}
> * print "testing xlinkurl: 0.000
10:56:41.533 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:41.534 [print] testing xlinkurl:http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:41.535 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76
10:56:41.535 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.953
Scenario Outline Rijksmonumenten (verouderd)
6f84efeb-fc1d-4565-a721-80735ea57dbd <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6f84efeb-fc1d-4565-a721-80735ea57dbd' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.525
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6f84efeb-fc1d-4565-a721-80735ea57dbd' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:42.066 [print] title:Rijksmonumenten (verouderd)
* print title 0.000
10:56:42.066 [print] Rijksmonumenten (verouderd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:42.067 [print] [
  "info@cultureelerfgoed.nl",
  "info@cultureelerfgoed.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:42.069 [print] organisation: [
  "Rijksdienst voor het Cultureel Erfgoed",
  "Rijksdienst voor het Cultureel Erfgoed"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
10:56:42.074 [print] [
  "http://services.rce.geovoorziening.nl/www/download/nl.xml",
  "",
  ""
]
* def id = "6f84efeb-fc1d-4565-a721-80735ea57dbd" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.208
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://services.rce.geovoorziening.nl/www/download/nl.xml}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:42.283 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://services.rce.geovoorziening.nl/www/download/nl.xml"
}
> * print "testing xlinkurl: 0.000
10:56:42.077 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.077 [print] testing xlinkurl:http://services.rce.geovoorziening.nl/www/download/nl.xml
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:42.281 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.281 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:42.282 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:42.282 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:42.282 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:42.283 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.283 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:42.283 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:42.283 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.439
Scenario Outline Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
ror-9d8e-4758-83fx-28b057f185e1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185e1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.577
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185e1' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.002
10:56:42.150 [print] title:Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
* print title 0.001
10:56:42.152 [print] Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.002
10:56:42.155 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:42.158 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.004
10:56:42.164 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185e1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.923
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.089 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1"
}
> * print "testing xlinkurl: 0.002
10:56:42.169 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.170 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1
> Given url link 0.000
> When method HEAD 0.392
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.000
10:56:42.564 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.565 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:42.767 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:42.768 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:42.769 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.769 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.312
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.082 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:43.082 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.085 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.085 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.088 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:43.088 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.342
Scenario Outline Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
ror-9d8e-4758-83fx-28b057f185g1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185g1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.538
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185g1' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
10:56:42.480 [print] title:Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
* print title 0.000
10:56:42.480 [print] Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:42.482 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:42.484 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:42.486 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185g1" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.899
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.389 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1"
}
> * print "testing xlinkurl: 0.000
10:56:42.499 [print]
> * def link = __arg.link 0.007
> * print "testing xlinkurl:" + link 0.000
10:56:42.506 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.000
10:56:42.843 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.843 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.044 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:43.044 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.045 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.045 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.387 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:43.387 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.388 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.388 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.388 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:43.388 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.736
Scenario Outline NWB - Wegen
a9b7026e-0a81-4813-93bd-ba49e6f28502 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a9b7026e-0a81-4813-93bd-ba49e6f28502' 0.009
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.550
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a9b7026e-0a81-4813-93bd-ba49e6f28502' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:42.625 [print] title:NWB - Wegen
* print title 0.000
10:56:42.625 [print] NWB - Wegen
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:42.626 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rws.n"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:42.628 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.009
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:42.639 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "a9b7026e-0a81-4813-93bd-ba49e6f28502" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.084
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.726 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502"
}
> * print "testing xlinkurl: 0.000
10:56:42.647 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.648 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
10:56:42.964 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.964 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.165 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
10:56:43.165 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.167 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.167 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.368 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:43.368 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.369 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.369 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.339
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.713 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.006
10:56:43.715 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.722 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.723 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.724 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:43.725 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.334
Scenario Outline Richtlijn Overstromingsrisico - historische overstromingen EU2018
ror-9d8e-4758-83fx-28b057f185f1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185f1' 0.012
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.635
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185f1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
10:56:42.935 [print] title:Richtlijn Overstromingsrisico - historische overstromingen EU2018
* print title 0.000
10:56:42.935 [print] Richtlijn Overstromingsrisico - historische overstromingen EU2018
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:42.936 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:42.937 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:42.938 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185f1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.841
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.781 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1"
}
> * print "testing xlinkurl: 0.000
10:56:42.942 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:42.942 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.000
10:56:43.253 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.254 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.457 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.004
10:56:43.457 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:43.462 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.462 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.312
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.777 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.002
10:56:43.777 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:43.780 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.780 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:43.781 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:43.781 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.348
Scenario Outline Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
uwwtd-9d8e-4758-83fa-28b057f185e2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e2' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.599
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:43.526 [print] title:Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
* print title 0.000
10:56:43.526 [print] Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:43.527 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
10:56:43.530 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:43.533 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e2" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.872
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:44.406 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2"
}
> * print "testing xlinkurl: 0.000
10:56:43.537 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:43.538 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2
> Given url link 0.000
> When method HEAD 0.324
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
10:56:43.866 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.866 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:44.067 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:44.067 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:44.068 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.068 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:44.383 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.014
10:56:44.384 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:44.399 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:44.400 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:44.402 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:44.404 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.468
Scenario Outline Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
uwwtd-9d8e-4758-83fa-28b057f185e1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e1' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.746
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.007
10:56:43.780 [print] title:Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
* print title 0.000
10:56:43.780 [print] Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:43.781 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:43.784 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:43.786 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e1" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.855
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:44.642 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1"
}
> * print "testing xlinkurl: 0.000
10:56:43.792 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.793 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1
> Given url link 0.000
> When method HEAD 0.330
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:44.125 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.126 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:44.326 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:44.326 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:44.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.328 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.312
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:44.640 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
10:56:44.640 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:44.641 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.641 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
10:56:44.642 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
10:56:44.642 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.656
Scenario Outline Bodemgebruik
af0c582f-9e6b-46e6-865a-fc3a2d5289b9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'af0c582f-9e6b-46e6-865a-fc3a2d5289b9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.611
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.003
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af0c582f-9e6b-46e6-865a-fc3a2d5289b9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.002
10:56:43.710 [print] title:Bodemgebruik
* print title 0.000
10:56:43.711 [print] Bodemgebruik
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.004
10:56:43.716 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.012
10:56:43.729 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
10:56:43.732 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"
]
* def id = "af0c582f-9e6b-46e6-865a-fc3a2d5289b9" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.008
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:43.742 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"
}
> * print "testing xlinkurl: 0.000
10:56:43.736 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.737 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:43.738 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78
10:56:43.739 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.580
Scenario Outline Adressen
76091be7-358a-4a44-8182-b4139c96c6a4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '76091be7-358a-4a44-8182-b4139c96c6a4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.560
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76091be7-358a-4a44-8182-b4139c96c6a4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:43.953 [print] title:Adressen
* print title 0.000
10:56:43.953 [print] Adressen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:43.954 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:43.955 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:43.958 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"
]
* def id = "76091be7-358a-4a44-8182-b4139c96c6a4" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.007
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:43.965 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"
}
> * print "testing xlinkurl: 0.001
10:56:43.962 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:43.963 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:43.963 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77
10:56:43.965 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.417
Scenario Outline Emissies naar lucht en water in 2015 vanuit de industrie
f8d840bc-18df-4449-b797-b9adcb81d3ec <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f8d840bc-18df-4449-b797-b9adcb81d3ec' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.658
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f8d840bc-18df-4449-b797-b9adcb81d3ec' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:44.390 [print] title:Emissies naar lucht en water in 2015 vanuit de industrie
* print title 0.000
10:56:44.390 [print] Emissies naar lucht en water in 2015 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:44.392 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:44.393 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
10:56:44.396 [print] [
  "https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"
]
* def id = "f8d840bc-18df-4449-b797-b9adcb81d3ec" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.379
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:44.776 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"
}
> * print "testing xlinkurl: 0.001
10:56:44.411 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:44.412 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166
> Given url link 0.000
> When method HEAD 0.364
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:44.776 javax.net.ssl.SSLException: Connection reset, http call failed after 364 milliseconds for URL: https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166
10:56:44.776 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.354
Scenario Outline Geluidkaart Schiphol 2016 (Lden)
83dab947-387b-49df-8ad2-32bb10d46d38 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '83dab947-387b-49df-8ad2-32bb10d46d38' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.704
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '83dab947-387b-49df-8ad2-32bb10d46d38' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:44.450 [print] title:Geluidkaart Schiphol 2016 (Lden)
* print title 0.000
10:56:44.450 [print] Geluidkaart Schiphol 2016 (Lden)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:44.451 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:44.453 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:44.454 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"
]
* def id = "83dab947-387b-49df-8ad2-32bb10d46d38" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.321
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:44.778 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"
}
> * print "testing xlinkurl: 0.000
10:56:44.459 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.459 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38
> Given url link 0.000
> When method HEAD 0.318
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:44.778 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.460
Scenario Outline Gemeten Ammoniak concentraties in buitenlucht.
d3c9efd6-fca7-49d6-92bb-5f507abece90 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd3c9efd6-fca7-49d6-92bb-5f507abece90' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.699
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd3c9efd6-fca7-49d6-92bb-5f507abece90' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:44.485 [print] title:Gemeten Ammoniak concentraties in buitenlucht.
* print title 0.000
10:56:44.485 [print] Gemeten Ammoniak concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:44.487 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:44.488 [print] organisation: no organisationName found in dataset record
* def xlinks = get response /GetRecordByIdResponse//@href 0.016
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:44.506 [print] [
  "https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"
]
* def id = "d3c9efd6-fca7-49d6-92bb-5f507abece90" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.369
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:44.877 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"
}
> * print "testing xlinkurl: 0.000
10:56:44.510 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.511 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d
> Given url link 0.000
> When method HEAD 0.364
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
10:56:44.877 javax.net.ssl.SSLException: Connection reset, http call failed after 365 milliseconds for URL: https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d
10:56:44.877 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.654
Scenario Outline Luchtfoto 2016 25cm RGB open data
df15af6e-0d21-4437-a69f-802be3479bba <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'df15af6e-0d21-4437-a69f-802be3479bba' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.621
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'df15af6e-0d21-4437-a69f-802be3479bba' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:44.591 [print] title:Luchtfoto 2016 25cm RGB open data
* print title 0.000
10:56:44.591 [print] Luchtfoto 2016 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
10:56:44.593 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:44.596 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.001
10:56:44.603 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b014",
  "",
  "",
  ""
]
* def id = "df15af6e-0d21-4437-a69f-802be3479bba" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.013
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b014}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:44.618 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"
}
> * print "testing xlinkurl: 0.000
10:56:44.614 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.614 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b014
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:44.615 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b014
10:56:44.615 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:44.615 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:44.616 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.616 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:44.616 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:44.616 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:44.616 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:44.617 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.617 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:44.617 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:44.617 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
10:56:44.617 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:44.618 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.618 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
10:56:44.618 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
10:56:44.618 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.581
Scenario Outline Vervoersnetwerken
3eebf700-5abf-42e4-826c-03cfb497e366 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3eebf700-5abf-42e4-826c-03cfb497e366' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.557
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3eebf700-5abf-42e4-826c-03cfb497e366' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:44.969 [print] title:Vervoersnetwerken
* print title 0.000
10:56:44.969 [print] Vervoersnetwerken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:44.969 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:44.970 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.005
* print nlinks 0.000
10:56:44.976 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"
]
* def id = "3eebf700-5abf-42e4-826c-03cfb497e366" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.007
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:44.985 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"
}
> * print "testing xlinkurl: 0.000
10:56:44.982 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:44.982 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
10:56:44.984 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75
10:56:44.984 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
1.937
Scenario Outline EEZ volgens UNCLOS - Noordzee
e8b84fae-00b3-49c1-80c1-df8f69f64e8c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e8b84fae-00b3-49c1-80c1-df8f69f64e8c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.599
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e8b84fae-00b3-49c1-80c1-df8f69f64e8c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:45.221 [print] title:EEZ volgens UNCLOS - Noordzee
* print title 0.000
10:56:45.221 [print] EEZ volgens UNCLOS - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:45.222 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:45.224 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:45.225 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"
]
* def id = "e8b84fae-00b3-49c1-80c1-df8f69f64e8c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.669
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:45.896 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
10:56:45.230 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.230 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.342
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"
}
> * print "testing xlinkurl: 0.000
10:56:45.578 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.578 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c
> Given url link 0.000
> When method HEAD 0.317
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:45.896 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
4.131
Scenario Outline Oppervlaktegeologie, Geologische kaart onder INSPIRE
80630ee7-3a15-4ea0-bdc0-a8aebfa2f204 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.002
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '80630ee7-3a15-4ea0-bdc0-a8aebfa2f204' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.623
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80630ee7-3a15-4ea0-bdc0-a8aebfa2f204' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:45.405 [print] title:Oppervlaktegeologie, Geologische kaart onder INSPIRE
* print title 0.000
10:56:45.405 [print] Oppervlaktegeologie, Geologische kaart onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:45.406 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:45.406 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
10:56:45.408 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "80630ee7-3a15-4ea0-bdc0-a8aebfa2f204" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.752
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:47.162 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"
}
> * print "testing xlinkurl: 0.000
10:56:45.414 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.414 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9
> Given url link 0.000
> When method HEAD 0.283
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:45.698 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.003
10:56:45.698 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:45.702 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.702 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:45.903 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
10:56:45.903 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:45.904 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.904 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.691
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:46.596 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
10:56:46.596 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:46.599 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
10:56:46.600 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.561
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:47.162 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
2.570
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
a1960e70-22f4-4fd9-91a8-b605c6ceda3e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a1960e70-22f4-4fd9-91a8-b605c6ceda3e' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.787
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1960e70-22f4-4fd9-91a8-b605c6ceda3e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
10:56:45.572 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
* print title 0.000
10:56:45.573 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:45.575 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:45.576 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def xlinks = get response /GetRecordByIdResponse//@href 0.009
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.004
10:56:45.591 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "a1960e70-22f4-4fd9-91a8-b605c6ceda3e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.884
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:46.476 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e"
}
> * print "testing xlinkurl: 0.002
10:56:45.605 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.605 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e
> Given url link 0.000
> When method HEAD 0.336
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
10:56:45.943 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.943 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:46.148 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
10:56:46.148 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:46.149 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:46.149 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.325
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
10:56:46.476 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
4.320
Scenario Outline Natura 2000 (INSPIRE geharmoniseerd)
280ed37a-b8d2-4ac5-8567-04d84fad3a41 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '280ed37a-b8d2-4ac5-8567-04d84fad3a41' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.687
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.002
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280ed37a-b8d2-4ac5-8567-04d84fad3a41' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.004
10:56:45.579 [print] title:Natura 2000 (INSPIRE geharmoniseerd)
* print title 0.000
10:56:45.580 [print] Natura 2000 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:45.581 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "beheer@pdok.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:45.582 [print] organisation: Ministerie van Landbouw, Natuur en Voedselkwaliteit
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.003
10:56:45.586 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "280ed37a-b8d2-4ac5-8567-04d84fad3a41" 0.007
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.806
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:79 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:47.401 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41"
}
> * print "testing xlinkurl: 0.003
10:56:45.603 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.604 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41
> Given url link 0.000
> When method HEAD 0.216
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.001
10:56:45.823 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.824 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.032
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:45.857 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
10:56:45.858 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:45.860 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
10:56:45.860 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.539
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
10:56:47.401 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
0.581
Scenario Outline Check fe45c540-e37d-11e4-b571-0800200c9a66
Check href links in metadata record van fe45c540-e37d-11e4-b571-0800200c9a66
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.571
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:48.272 [print] title:Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* print title 0.000
10:56:48.272 [print] Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:48.273 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:48.274 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('"fe45c540-e37d-11e4-b571-0800200c9a66","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:48 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "fe45c540-e37d-11e4-b571-0800200c9a66" 0.000
0.434
Scenario Outline Check edf79e6a-d73d-4def-8d22-0f495cc76a73
Check href links in metadata record van edf79e6a-d73d-4def-8d22-0f495cc76a73
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.424
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:53.990 [print] title:Bronbestanden waterkwaliteit
* print title 0.000
10:56:53.990 [print] Bronbestanden waterkwaliteit
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:53.992 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:53.992 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('"edf79e6a-d73d-4def-8d22-0f495cc76a73","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:48 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "edf79e6a-d73d-4def-8d22-0f495cc76a73" 0.000
0.502
Scenario Outline Check c935f2ab-9b65-4dc4-94a0-73aeb840a941
Check href links in metadata record van c935f2ab-9b65-4dc4-94a0-73aeb840a941
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.493
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
10:56:59.670 [print] title:Overheidsdiensten
* print title 0.000
10:56:59.671 [print] Overheidsdiensten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
10:56:59.671 [print] [
  "erik.simonse@kvk.nl",
  "erik.simonse@kvk.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
10:56:59.672 [print] organisation: [
  "Kamer van Koophandel",
  "Kamer van Koophandel"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('"c935f2ab-9b65-4dc4-94a0-73aeb840a941","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.004
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:48 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "c935f2ab-9b65-4dc4-94a0-73aeb840a941" 0.000